File tree 1 file changed +2
-19
lines changed
1 file changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -78,30 +78,13 @@ jobs:
78
78
run : |
79
79
rm -rf site
80
80
mkdocs build
81
- mike deploy --push -- update-aliases --no-redirect ${{ env.VERSION }} ${{ env.ALIAS }} --branch backup-gh-pages
81
+ mike deploy --update-aliases --no-redirect ${{ env.VERSION }} ${{ env.ALIAS }} --branch backup-gh-pages
82
82
# Set latest version as a default
83
- mike set-default --push latest --branch backup-gh-pages
83
+ mike set-default latest --branch backup-gh-pages
84
84
- name : Build API docs
85
85
run : |
86
86
rm -rf api
87
87
npm run docs-generateApiDoc
88
- - name : Release API docs
89
- uses : peaceiris/actions-gh-pages@bd8c6b06eba6b3d25d72b7a1767993c0aeee42e7 # v3.9.2
90
- with :
91
- github_token : ${{ secrets.GITHUB_TOKEN }}
92
- publish_dir : ./api
93
- keep_files : true
94
- destination_dir : ${{ env.VERSION }}/api
95
- publish_branch : ' backup-gh-pages'
96
- - name : Release API docs to latest
97
- if : ${{ inputs.alias == 'latest' }}
98
- uses : peaceiris/actions-gh-pages@bd8c6b06eba6b3d25d72b7a1767993c0aeee42e7 # v3.9.2
99
- with :
100
- github_token : ${{ secrets.GITHUB_TOKEN }}
101
- publish_dir : ./api
102
- keep_files : true
103
- destination_dir : latest/api
104
- publish_branch : ' backup-gh-pages'
105
88
- name : Configure AWS credentials
106
89
uses : aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0
107
90
with :
You can’t perform that action at this time.
0 commit comments