Skip to content

Commit

Permalink
Update gh-pages deploy token
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasEllul committed Oct 18, 2024
1 parent 4ffbba7 commit d5d9179
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ jobs:
publish-to-gh-pages:
name: Publish to GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Ensure `destination_dir` is not empty
if: ${{ inputs.destination_dir == '' }}
Expand All @@ -31,6 +29,6 @@ jobs:
- name: Deploy to `${{ inputs.destination_dir }}` directory of `gh-pages` branch
uses: peaceiris/actions-gh-pages@068dc23d9710f1ba62e86896f84735d869951305
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.DEPLOY_TOKEN }}
publish_dir: ./dist
destination_dir: ${{ inputs.destination_dir }}

0 comments on commit d5d9179

Please sign in to comment.