From 0e7eafb4c923e0e6f1d69fb64bccb46c84dd75d7 Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Mon, 19 Jun 2023 18:57:21 +0000 Subject: [PATCH 1/2] fix: remove GH pages --- .github/workflows/reusable-publish-docs.yml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/reusable-publish-docs.yml b/.github/workflows/reusable-publish-docs.yml index 8243f81f34..35a0beda52 100644 --- a/.github/workflows/reusable-publish-docs.yml +++ b/.github/workflows/reusable-publish-docs.yml @@ -85,21 +85,6 @@ jobs: run: | rm -rf api npm run docs-generateApiDoc - - name: Release API docs - uses: peaceiris/actions-gh-pages@bd8c6b06eba6b3d25d72b7a1767993c0aeee42e7 # v3.9.2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./api - keep_files: true - destination_dir: ${{ env.VERSION }}/api - - name: Release API docs to latest - if: ${{ inputs.alias == 'latest' }} - uses: peaceiris/actions-gh-pages@bd8c6b06eba6b3d25d72b7a1767993c0aeee42e7 # v3.9.2 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./api - keep_files: true - destination_dir: latest/api - name: Configure AWS credentials uses: aws-actions/configure-aws-credentials@e1e17a757e536f70e52b5a12b2e8d1d1c60e04ef # v2.0.0 with: From 9b65a2551572aa41b42364a981d11b1a150c76fa Mon Sep 17 00:00:00 2001 From: Simon Thulbourn Date: Fri, 23 Jun 2023 10:59:19 +0200 Subject: [PATCH 2/2] remove push --- .github/workflows/reusable-publish-docs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reusable-publish-docs.yml b/.github/workflows/reusable-publish-docs.yml index 800e12353f..cc36bb4b3e 100644 --- a/.github/workflows/reusable-publish-docs.yml +++ b/.github/workflows/reusable-publish-docs.yml @@ -78,9 +78,9 @@ jobs: run: | rm -rf site mkdocs build - mike deploy --push --update-aliases --no-redirect ${{ env.VERSION }} ${{ env.ALIAS }} --branch backup-gh-pages + mike deploy --update-aliases --no-redirect ${{ env.VERSION }} ${{ env.ALIAS }} --branch backup-gh-pages # Set latest version as a default - mike set-default --push latest --branch backup-gh-pages + mike set-default latest --branch backup-gh-pages - name: Build API docs run: | rm -rf api