From 53af5a7ef60e519e2bdd8b7584f3ffa8e50d257a Mon Sep 17 00:00:00 2001 From: Asaf Korem Date: Fri, 3 Jan 2025 15:33:49 +0200 Subject: [PATCH] website: configure git user even from master --- .github/workflows/deploy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7132cbc..33bcb26 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,7 +20,13 @@ jobs: with: node-version: 18 # Use a stable Node.js version like 18 LTS - # 3. Install dependencies and deploy + # 3. Configure Git + - name: Configure Git User + run: | + git config --global user.name "${{ github.actor }}" + git config --global user.email "${{ github.actor }}@users.noreply.github.com" + + # 4. Install dependencies and deploy - name: Install dependencies and deploy run: | cd website