@@ -3,43 +3,43 @@ name: docs
3
3
on :
4
4
push :
5
5
branches :
6
- - master
7
- - dev
6
+ - master
7
+ - smart
8
8
env :
9
9
SITE_DIR : " gh-pages"
10
10
jobs :
11
11
build_site :
12
12
name : " Build site with Antora"
13
- runs-on : [ubuntu-latest]
13
+ runs-on : [ ubuntu-latest ]
14
14
steps :
15
- - name : Checkout
16
- uses : actions/checkout@v2
17
- - name : " Generate site using antora site action"
18
- uses : kameshsampath/antora-site-action@master
19
- with :
20
- antora_playbook : site.yml
21
- - name : " Upload generated site"
22
-
23
- with :
24
- name : site
25
- path : " ${{ github.workspace }}/${{ env.SITE_DIR }}"
15
+ - name : Checkout
16
+ uses : actions/checkout@v2
17
+ - name : " Generate site using antora site action"
18
+ uses : kameshsampath/antora-site-action@master
19
+ with :
20
+ antora_playbook : site.yml
21
+ - name : " Upload generated site"
22
+
23
+ with :
24
+ name : site
25
+ path : " ${{ github.workspace }}/${{ env.SITE_DIR }}"
26
26
deploy_site :
27
- runs-on : [ubuntu-latest]
28
- needs : [build_site]
27
+ runs-on : [ ubuntu-latest ]
28
+ needs : [ build_site ]
29
29
name : " Deploy GitHub Pages"
30
30
steps :
31
- - name : Checkout
32
- uses : actions/checkout@v2
33
- - name : Download generated site
34
- uses : actions/download-artifact@v4
35
- with :
36
- name : site
37
- path : " ${{ github.workspace }}/${{ env.SITE_DIR }}"
38
- - name : Deploy to GitHub Pages
39
-
40
- with :
41
- # ACCESS_TOKEN: # optional
42
- GITHUB_TOKEN : " ${{ github.token}}"
43
- FOLDER : " ${{ env.SITE_DIR }}"
44
- BRANCH : " gh-pages"
45
- COMMIT_MESSAGE : " [CI] Publish Documentation for ${{ github.sha }}"
31
+ - name : Checkout
32
+ uses : actions/checkout@v2
33
+ - name : Download generated site
34
+ uses : actions/download-artifact@v4
35
+ with :
36
+ name : site
37
+ path : " ${{ github.workspace }}/${{ env.SITE_DIR }}"
38
+ - name : Deploy to GitHub Pages
39
+
40
+ with :
41
+ # ACCESS_TOKEN: # optional
42
+ GITHUB_TOKEN : " ${{ github.token}}"
43
+ FOLDER : " ${{ env.SITE_DIR }}"
44
+ BRANCH : " gh-pages"
45
+ COMMIT_MESSAGE : " [CI] Publish Documentation for ${{ github.sha }}"
0 commit comments