Skip to content

Commit

Permalink
Hot fix to sphinx workflow
Browse files Browse the repository at this point in the history
gvegayon authored Nov 22, 2024
1 parent 07541fc commit 329fe8d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/sphinx.yaml
Original file line number Diff line number Diff line change
@@ -9,11 +9,6 @@ on:
types: [published]
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
actions: read
pull-requests: write

jobs:
build:
runs-on: ubuntu-latest
@@ -86,6 +81,10 @@ jobs:
# Deploy to the github-pages environment
# but not on PRs
if: ${{ github.event_name != 'pull_request' }}
permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

0 comments on commit 329fe8d

Please sign in to comment.