Skip to content

Commit

Permalink
id token perms
Browse files Browse the repository at this point in the history
  • Loading branch information
paquiteau committed Oct 5, 2023
1 parent b8dbd1f commit cf65ced
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,17 @@ on:
branches:
- main
- master
# If your git repository has the Jupyter Book within some-subfolder next to
# unrelated files, you can make this run only if a file within that specific
# folder has been modified.
#
# paths:
# - some-subfolder/**

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

# This job installs dependencies, builds the book, and pushes it to `gh-pages`
jobs:
Expand Down

0 comments on commit cf65ced

Please sign in to comment.