From 32672b9d53f2b6d65293f95813625a5ad779a4df Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Wed, 28 Apr 2021 12:03:39 +1000 Subject: [PATCH] Use GitHub Action to deploy to gh pages --- .github/workflows/deploy-gh-pages.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-gh-pages.yml b/.github/workflows/deploy-gh-pages.yml index 245458c0cb..ca6483d802 100644 --- a/.github/workflows/deploy-gh-pages.yml +++ b/.github/workflows/deploy-gh-pages.yml @@ -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