From 6d2ca8aeeb8d6a5600cb2aba0e3209cb0e8a8296 Mon Sep 17 00:00:00 2001 From: shadowusr <58862284+shadowusr@users.noreply.github.com> Date: Tue, 9 Apr 2024 12:28:21 +0300 Subject: [PATCH] ci: fix links to static S3 website builds (#3) --- .github/workflows/checks.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 0bc2f16..faa3d76 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -48,8 +48,8 @@ jobs: - run: npm run build-storybook - run: npm run build env: - DOCUSAURUS_URL: https://storage.yandexcloud.net - DOCUSAURUS_BASE_URL: ${{ secrets.AWS_S3_BUCKET }}/testplane-docs/website-static/${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}/ + DOCUSAURUS_URL: https://${{ secrets.AWS_S3_BUCKET }}.website.yandexcloud.net + DOCUSAURUS_BASE_URL: testplane-docs/website-static/${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}/ - name: Upload storybook static uses: jakejarvis/s3-sync-action@v0.5.1 with: @@ -80,8 +80,8 @@ jobs: message: | ### :white_check_mark: Successfully deployed static - - [Docs website](https://storage.yandexcloud.net/testplane-ci/testplane-docs/website-static/${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}/index.html) - - [Storybook](https://storage.yandexcloud.net/testplane-ci/testplane-docs/storybook-static/${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}/index.html) + - [Docs website](https://${{ secrets.AWS_S3_BUCKET }}.website.yandexcloud.net/testplane-docs/website-static/${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}/) + - [Storybook](https://${{ secrets.AWS_S3_BUCKET }}.website.yandexcloud.net/testplane-docs/storybook-static/${{ github.run_id }}-${{ github.run_number }}-${{ github.run_attempt }}/) comment_tag: deployment_status - name: Comment PR that static wasn't deployed on failure