Skip to content

Commit

Permalink
Update publish-gh-pages environment
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasEllul authored Oct 18, 2024
1 parent d5d9179 commit 8c7276d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
publish-to-gh-pages:
name: Publish to GitHub Pages
runs-on: ubuntu-latest
environment: github-pages
steps:
- name: Ensure `destination_dir` is not empty
if: ${{ inputs.destination_dir == '' }}
Expand All @@ -29,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.DEPLOY_TOKEN }}
personal_token: ${{ secrets.DEPLOY_TOKEN }}
publish_dir: ./dist
destination_dir: ${{ inputs.destination_dir }}

0 comments on commit 8c7276d

Please sign in to comment.