diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a3f9b66..ab32638 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -15,13 +15,9 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 22 - - name: Set Git User Identity + - name: Deploy with gh-pages run: | - git config --local user.email bot@example.com - git config --local user.name bot - - run: npm ci - - run: | git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git - npm run deploy + npm run deploy -- -u "github-actions-bot " env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file