Skip to content

Commit

Permalink
Use publish_dir in action
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrtenz committed Jun 27, 2023
1 parent 5a6724b commit 2209d65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/publish-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ jobs:
- name: Deploy to `${{ inputs.destination_dir }}` directory of `gh-pages` branch
uses: peaceiris/actions-gh-pages@de7ea6f8efb354206b205ef54722213d99067935
with:
# This `PUBLISH_PAGES_TOKEN` needs to be manually set per-repository.
# Look in the repository settings under "Environments", and set this token in the `github-pages` environment.
personal_token: ${{ secrets.PUBLISH_PAGES_TOKEN }}
publish_dir: ./docs
publish_dir: ${{ inputs.publish_dir }}
destination_dir: ${{ inputs.destination_dir }}

0 comments on commit 2209d65

Please sign in to comment.