diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index cfab7b9..8462acb 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -28,3 +28,10 @@ jobs: cache: 'npm' - run: npm ci - run: npm run build --if-present + + - name: Deploy with gh-pages + run: | + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + npx gh-pages -d build -u "github-actions-bot " + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}