Skip to content

Commit

Permalink
gh-actions: fix deploy yml
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem committed Jan 3, 2025
1 parent 6b64650 commit fc1ba50
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 "[email protected]"
git config --global user.name "Asaf Korem"
cd website
npm install
npm run deploy

0 comments on commit fc1ba50

Please sign in to comment.