From 6b64650c87a308141a3af46410e298c401721b86 Mon Sep 17 00:00:00 2001 From: Asaf Korem Date: Fri, 3 Jan 2025 15:36:16 +0200 Subject: [PATCH] website: set git user --- .github/workflows/deploy.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 33bcb26..facad4b 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,11 +20,11 @@ jobs: with: node-version: 18 # Use a stable Node.js version like 18 LTS - # 3. Configure Git - - name: Configure Git User + # 3. Set GIT_USER + - name: Set GIT_USER run: | - git config --global user.name "${{ github.actor }}" - git config --global user.email "${{ github.actor }}@users.noreply.github.com" + export GIT_USER="${{ github.actor }}" + echo "GIT_USER=$GIT_USER" >> $GITHUB_ENV # 4. Install dependencies and deploy - name: Install dependencies and deploy