Skip to content

Commit

Permalink
CI: Fix up doc deployment
Browse files Browse the repository at this point in the history
Descope permissions and replace use of non-existent deploy key. This
should work fine with a GitHub token now.
  • Loading branch information
dopplershift committed Jan 24, 2025
1 parent 97aedbf commit c7f821e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ on:
- v[0-9]+.[0-9]+.[0-9]+
pull_request:

permissions:
contents: write

concurrency:
group: ${{ github.workflow}}-${{ github.head_ref }}
cancel-in-progress: true
Expand Down Expand Up @@ -68,6 +65,8 @@ jobs:
runs-on: ubuntu-latest
env:
DOC_VERSION: dev
permissions:
contents: write

steps:
- name: Download doc build
Expand All @@ -85,7 +84,7 @@ jobs:
- name: Upload to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
deploy_key: ${{ secrets.GHPAGES_DEPLOY_KEY }}
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/build/html
exclude_assets: '.buildinfo,_static/jquery-*.js,_static/underscore-*.js'
destination_dir: ./${{ env.DOC_VERSION }}
Expand Down

0 comments on commit c7f821e

Please sign in to comment.