diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 9943263..edadca5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -29,3 +29,10 @@ jobs: - run: npm ci - run: npm run build --if-present - run: npm test + + - name: Deploy with gh-pages + run: | + git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git + npm run deploy -- -u "github-actions-bot " + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file