File tree 2 files changed +12
-3
lines changed
2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 4
4
push :
5
5
env :
6
6
SITE_DIR : ' site'
7
+ DOC_DIR : ' site/devfile'
7
8
jobs :
8
9
build_site :
9
10
name : " Build site with Antora"
@@ -15,12 +16,20 @@ jobs:
15
16
version : 12.x
16
17
- name : Checkout
17
18
uses : actions/checkout@v2
19
+ with :
20
+ fetch-depth : 0
21
+ - name : " Get all"
22
+ run : git fetch --all
23
+ - name : " show playbook content"
24
+ run : cat antora-playbook.yml
18
25
- name : " Generate API Reference"
19
26
run : yarn install && yarn run generate-api-reference
20
27
- name : " Generate site using antora site action"
21
28
uses : kameshsampath/antora-site-action@master
22
29
with :
23
30
antora_playbook : antora-playbook.yml
31
+ - name : List version
32
+ run : ls "${{ github.workspace }}/build/${{ env.DOC_DIR }}"
24
33
- name : " Upload generated site"
25
34
uses : actions/upload-artifact@v2
26
35
with :
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ asciidoc:
5
5
che-prod : Eclipse Che
6
6
che-prod-short : Che
7
7
che-prod-id-short : che
8
- che-prod-ver : 7.20
8
+ che-prod-ver : 7.30
9
9
prod : Devfile
10
10
prod-short : Devfile
11
11
prod-id-short : devfile
@@ -14,9 +14,9 @@ content:
14
14
- branches : HEAD
15
15
start_path : docs
16
16
url : ./
17
- - branches : v2.0.x
17
+ - branches : [ v2.*]
18
18
start_path : docs
19
- url : ./
19
+ url : https://github.com/devfile/docs
20
20
output :
21
21
destinations :
22
22
- clean : true
You can’t perform that action at this time.
0 commit comments