Skip to content

Commit ff807da

Browse files
committed
fix
1 parent de8fea7 commit ff807da

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

Diff for: .github/workflows/publish.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ on:
99
env:
1010
BASE_URL: /${{ github.event.repository.name }}
1111

12+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
1218
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1319
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
1420
concurrency:
@@ -17,16 +23,11 @@ concurrency:
1723

1824
jobs:
1925
deploy-book:
20-
runs-on: ubuntu-latest
21-
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
22-
permissions:
23-
pages: write
24-
id-token: write
25-
2626
environment:
2727
name: github-pages
2828
url: ${{ steps.deployment.outputs.page_url }}
2929

30+
runs-on: ubuntu-latest
3031
steps:
3132
- uses: actions/checkout@v3
3233

0 commit comments

Comments
 (0)