Updated deploy action

According to https://github.com/tschaub/gh-pages
This commit is contained in:
Przemek Więch 2021-11-29 23:57:21 +01:00
parent 2902a2f455
commit 97bd4bd7e2

View File

@ -17,6 +17,8 @@ jobs:
- run: npm run build
- run: npm test
- run: npm run cy:start-and-run
- run: npm run deploy -- -u "github-actions-bot <support+actions@github.com>"
- run: |
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
npm run deploy -- -u "github-actions-bot <support+actions@github.com>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}