File tree Expand file tree Collapse file tree 2 files changed +12
-50
lines changed Expand file tree Collapse file tree 2 files changed +12
-50
lines changed Original file line number Diff line number Diff line change 1
- name : Deploy to GitHub Pages
1
+ name : Deploy GitHub Pages
2
+
3
+ # NOTE: workflow uses this repo: https://github.com/sphinx-notes/pages
2
4
3
5
on :
4
6
push :
5
- branches : [ main ]
7
+ branches : [main]
6
8
7
- permissions :
8
- contents : read
9
- pages : write
10
- id-token : write
11
-
12
9
concurrency :
13
10
group : " pages"
14
11
cancel-in-progress : false
15
12
16
13
jobs :
17
- build :
18
- runs-on : ubuntu-latest
19
- steps :
20
- - name : Checkout
21
- uses : actions/checkout@v4
22
- - name : Setup Pages
23
- uses : actions/configure-pages@v5
24
- - name : Fix anchor tag in README
25
- run : ex -s -c '%s/docs\/getting-started\.md/docs\/getting-started/|x' README.md
26
- - name : Build with Jekyll
27
- uses : actions/jekyll-build-pages@v1
28
- with :
29
- source : ./
30
- destination : ./_site
31
- - name : Upload artifact
32
- uses : actions/upload-pages-artifact@v3
33
- deploy :
14
+ pages :
15
+ runs-on : ubuntu-20.04
34
16
environment :
35
17
name : github-pages
36
18
url : ${{ steps.deployment.outputs.page_url }}
37
- runs-on : ubuntu-latest
38
- needs : build
19
+ permissions :
20
+ pages : write
21
+ id-token : write
39
22
steps :
40
- - name : Deploy to GitHub Pages
41
- id : deployment
42
- uses : actions/deploy-pages@v4
23
+ - id : deployment
24
+ uses : sphinx-notes/pages@v3
25
+
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments