Skip to content

Commit

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

0 comments on commit b9ad10b

Please sign in to comment.