Skip to content

Commit

Permalink
Update GItHub Pages Deployment Token (#179)
Browse files Browse the repository at this point in the history
* Remove backfill actions

* Update gh-pages deploy token

* Update publish-gh-pages environment
  • Loading branch information
NicholasEllul authored Oct 22, 2024
1 parent 7f8559f commit d2ec81f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 130 deletions.
64 changes: 0 additions & 64 deletions .github/workflows/publish-gh-pages-backport-2.1.yml

This file was deleted.

63 changes: 0 additions & 63 deletions .github/workflows/publish-gh-pages-backport-pre-2.1.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ jobs:
publish-to-gh-pages:
name: Publish to GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: write
environment: github-pages
steps:
- name: Ensure `destination_dir` is not empty
if: ${{ inputs.destination_dir == '' }}
Expand All @@ -31,6 +30,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 }}
personal_token: ${{ secrets.DEPLOY_TOKEN }}
publish_dir: ./dist
destination_dir: ${{ inputs.destination_dir }}

0 comments on commit d2ec81f

Please sign in to comment.