File tree Expand file tree Collapse file tree 1 file changed +6
-46
lines changed Expand file tree Collapse file tree 1 file changed +6
-46
lines changed Original file line number Diff line number Diff line change 6
6
7
7
workflow_dispatch :
8
8
9
- permissions :
10
- contents : read
11
- pages : write
12
- id-token : write
13
-
14
- concurrency :
15
- group : " pages"
16
- cancel-in-progress : false
17
-
18
9
jobs :
19
- build :
20
- runs-on : ubuntu-latest
21
- container : kjuly/mkdocs-material:latest
22
- steps :
23
- - name : Checkout
24
- uses : actions/checkout@v4
25
- - name : Build static pages
26
- run : ./build_to_deploy.sh
27
- - name : Upload artifact
28
- uses : actions/upload-artifact@v4
29
- with :
30
- name : pages
31
- path : build
32
- if-no-files-found : error
33
-
34
- deploy :
35
- runs-on : ubuntu-latest
36
- needs : build
37
- environment :
38
- name : github-pages
39
- url : ${{steps.deployment.outputs.page_url}}
40
- steps :
41
- - name : Upload artifact
42
- uses : actions/download-artifact@v4
43
- with :
44
- name : pages
45
- path : .
46
- - name : Setup Pages
47
- uses : actions/configure-pages@v5
48
- - name : Upload pages artifact
49
- uses : actions/upload-pages-artifact@v3
50
- with :
51
- path : .
52
- - name : Deploy to GitHub Pages
53
- id : deployment
54
- uses : actions/deploy-pages@v4
55
-
10
+ build-n-deploy :
11
+ uses : Kjuly/mkdocs-page-publisher@main
12
+ with :
13
+ config-files : |-
14
+ config/en/mkdocs.yml
15
+ config/zh-Hans/mkdocs.yml
You can’t perform that action at this time.
0 commit comments