77 push :
88 branches :
99 - master
10- - develop
10+ # Disabled until docs support versioning per branch/release
11+ # - develop
1112
1213jobs :
1314 docs :
@@ -26,20 +27,27 @@ jobs:
2627 - name : Build docs website
2728 run : make build-docs-website
2829 - 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
3031 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
4032 - name : Deploy all docs
4133 uses : peaceiris/actions-gh-pages@v3
42- if : env.SOURCE_BRANCH == 'master'
4334 with :
4435 github_token : ${{ secrets.GITHUB_TOKEN }}
4536 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