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