Skip to content

Commit

Permalink
Change publication to use auto-token
Browse files Browse the repository at this point in the history
Signed-off-by: Ry Jones <[email protected]>
  • Loading branch information
ryjones authored and modemn committed Sep 11, 2023
1 parent 4454bcd commit ceb03bb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ jobs:
publish_documentation:
name: Publish documentation
runs-on: ubuntu-latest
permissions:
contents: write
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
Expand All @@ -77,7 +79,7 @@ jobs:
with:
branch: gh-pages
folder: docs/build
token: ${{ secrets.DOCS_GITHUB_ACCESS_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
git-config-name: ${{ secrets.DOCS_GITHUB_NAME }}
git-config-email: ${{ secrets.DOCS_GITHUB_EMAIL }}

Expand Down

0 comments on commit ceb03bb

Please sign in to comment.