Skip to content

Commit

Permalink
fix: use gh_token with gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cmgriffing committed Jan 17, 2024
1 parent ccae0f6 commit 8b6b531
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
run: |
git config --global user.email "[email protected]"
git config --global user.name "Chris Griffing"
pnpm run deploy
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
pnpx gh-pages -d dist -u "github-actions-bot <[email protected]>"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 8b6b531

Please sign in to comment.