We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6f01bb commit e9416beCopy full SHA for e9416be
1 file changed
.github/workflows/update-doc.yml
@@ -4,6 +4,11 @@ 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
@@ -27,19 +32,15 @@ jobs:
27
32
working-directory: ./Doc
28
33
29
34
- name: Upload artifact
30
- uses: actions/upload-pages-artifact@v3
35
+ uses: actions/upload-pages-artifact@v2
31
36
with:
- path: ./site
37
+ path: ./Doc/site
38
39
deploy:
40
needs: build
41
42
environment:
43
name: github-pages
- url: ${{ steps.deployment.outputs.page_url }}
- permissions:
- id-token: write
- contents: write
44
steps:
45
- name: Deploy to GitHub Pages
46
id: deployment
0 commit comments