From 5567a2a3b0156e7be2ca567c07df3cb40db1832a Mon Sep 17 00:00:00 2001 From: Asaf Korem Date: Fri, 3 Jan 2025 15:45:46 +0200 Subject: [PATCH] gh-actions: fix deploy yml --- .github/workflows/deploy.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index facad4b..2673794 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,15 +20,14 @@ jobs: with: node-version: 18 # Use a stable Node.js version like 18 LTS - # 3. Set GIT_USER - - name: Set GIT_USER - run: | - export GIT_USER="${{ github.actor }}" - echo "GIT_USER=$GIT_USER" >> $GITHUB_ENV - # 4. Install dependencies and deploy - name: Install dependencies and deploy + env: + GIT_USER: git + USE_SSH: true run: | + git config --global user.email "mobile1@wix.com" + git config --global user.name "mobilewix" cd website npm install npm run deploy