Skip to content

Commit

Permalink
ci: fix git error
Browse files Browse the repository at this point in the history
ci: fix script

fix: script withot npx
  • Loading branch information
yld-weng committed Oct 15, 2021
1 parent 67ae2ef commit a1e771b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/deploy-qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,15 @@ jobs:

- name: Set user info
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git config --local user.email "support+actions@github.com"
git config --local user.name "github-actions-bot"
- name: Deploy to QA
run: NODE_OPTIONS=--max_old_space_size=4096 npm run deploy:qa
run: |
NODE_OPTIONS=--max_old_space_size=4096 npm run build:qa
git remote set-url origin https://git:${GH_TOKEN}@github.com/researchdata-sheffield/dataviz-hub2-qa.git
rm -f public/CNAME && npx gh-pages -d public -b main
env:
EVENT_API_KEY_1: ${{ secrets.EVENT_API_KEY_1 }}
EVENT_API_KEY_2: ${{ secrets.EVENT_API_KEY_2 }}
Expand Down

0 comments on commit a1e771b

Please sign in to comment.