We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9416be commit b5c3b59Copy full SHA for b5c3b59
.github/workflows/update-doc.yml
@@ -4,11 +4,6 @@ on:
4
push:
5
branches: [main]
6
7
-permissions:
8
- contents: read
9
- pages: write
10
- id-token: write
11
-
12
jobs:
13
build:
14
runs-on: ubuntu-latest
@@ -32,7 +27,7 @@ jobs:
32
27
working-directory: ./Doc
33
28
34
29
- name: Upload artifact
35
- uses: actions/upload-pages-artifact@v2
30
+ uses: actions/upload-pages-artifact@v3
36
31
with:
37
path: ./Doc/site
38
@@ -41,7 +36,11 @@ jobs:
41
42
environment:
43
name: github-pages
39
+ url: ${{ steps.deployment.outputs.page_url }}
40
+ permissions:
+ id-token: write
+ contents: write
44
steps:
45
- name: Deploy to GitHub Pages
46
id: deployment
47
- uses: actions/deploy-pages@v3
+ uses: actions/deploy-pages@v2
0 commit comments