Skip to content

Commit 5461749

Browse files
committed
Improved doc workflow
1 parent b0c082f commit 5461749

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

.github/workflows/docs.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,21 @@ on:
44
push:
55
tags: ['*testdocs*']
66

7-
permissions: read-all
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: "pages"
14+
cancel-in-progress: false
815

916
jobs:
1017
deploy:
1118
runs-on: ubuntu-latest
1219
environment:
1320
name: github-pages
14-
15-
permissions:
16-
id-token: write
21+
url: ${{ steps.deployment.outputs.page_url }}
1722
steps:
1823
- name: Check out repo
1924
uses: actions/checkout@v4

0 commit comments

Comments
 (0)