Use GitHub Action to deploy to gh pages

This commit is contained in:
Franck Royer 2021-04-28 12:03:39 +10:00
parent cda14ee505
commit 32672b9d53
No known key found for this signature in database
GPG Key ID: A82ED75A8DFC50A4
1 changed files with 4 additions and 2 deletions

View File

@ -40,5 +40,7 @@ jobs:
working-directory: web-chat
- name: Deploy web chat app on gh pages
run: npm run deploy
working-directory: web-chat
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./web-chat/build