Skip to content

Commit

Permalink
Update auto-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tragram authored Nov 7, 2024
1 parent 1c5c147 commit 75994aa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/auto-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ defaults:
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.6]
Expand All @@ -32,13 +31,16 @@ jobs:
cache-dependency-path: web/package-lock.json
- run: npm ci
- run: npm run build --if-present
env:
CI: false
- name: Deploy
run: |
git config --global user.name $user_name
git config --global user.email $user_email
git remote set-url origin https://${github_token}@github.com/${repository}
npm run deploy
env:
CI: false
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
github_token: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN }}
Expand Down

0 comments on commit 75994aa

Please sign in to comment.