Skip to content

Commit 4b39028

Browse files
sthulbdreamorosi
andauthored
chore(ci): remove GH pages (#1513)
* fix: remove GH pages * remove push --------- Co-authored-by: Andrea Amorosi <[email protected]>
1 parent 9e1d19a commit 4b39028

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

Diff for: .github/workflows/reusable-publish-docs.yml

+2-19
Original file line numberDiff line numberDiff line change
@@ -78,30 +78,13 @@ jobs:
7878
run: |
7979
rm -rf site
8080
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
8282
# 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
8484
- name: Build API docs
8585
run: |
8686
rm -rf api
8787
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'
10588
- name: Configure AWS credentials
10689
uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0
10790
with:

0 commit comments

Comments
 (0)