7
7
push :
8
8
branches :
9
9
- master
10
- - develop
10
+ # Disabled until docs support versioning per branch/release
11
+ # - develop
11
12
12
13
jobs :
13
14
docs :
@@ -26,20 +27,27 @@ jobs:
26
27
- name : Build docs website
27
28
run : make build-docs-website
28
29
- name : Build docs API reference
29
- if : env.SOURCE_BRANCH == 'master'
30
+ # if: env.SOURCE_BRANCH == 'master' # Disabled until docs support versioning per branch/release
30
31
run : make build-docs-api
31
- - name : Deploy docs website
32
- uses : peaceiris/actions-gh-pages@v3
33
- with :
34
- github_token : ${{ secrets.GITHUB_TOKEN }}
35
- publish_dir : ./dist
36
- # when deploying docs website only
37
- # we need to keep existing API docs checked in
38
- # but only for dev branch
39
- keep_files : true
40
32
- name : Deploy all docs
41
33
uses : peaceiris/actions-gh-pages@v3
42
- if : env.SOURCE_BRANCH == 'master'
43
34
with :
44
35
github_token : ${{ secrets.GITHUB_TOKEN }}
45
36
publish_dir : ./dist
37
+
38
+ # Disabled until docs support versioning per branch/release
39
+ # - name: Deploy docs website
40
+ # uses: peaceiris/actions-gh-pages@v3
41
+ # with:
42
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
43
+ # publish_dir: ./dist
44
+ # # when deploying docs website only
45
+ # # we need to keep existing API docs checked in
46
+ # # but only for dev branch
47
+ # keep_files: true
48
+ # - name: Deploy all docs
49
+ # uses: peaceiris/actions-gh-pages@v3
50
+ # if: env.SOURCE_BRANCH == 'master'
51
+ # with:
52
+ # github_token: ${{ secrets.GITHUB_TOKEN }}
53
+ # publish_dir: ./dist
0 commit comments