From 1cb2c7829c2b22a68ac521b7c6f9fe1ffbaebedf Mon Sep 17 00:00:00 2001 From: Dominik Piatek Date: Tue, 21 Nov 2023 13:20:14 +0000 Subject: [PATCH] wip --- .github/workflows/dev-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/dev-ci.yml b/.github/workflows/dev-ci.yml index 5ce87a33..4afa3548 100644 --- a/.github/workflows/dev-ci.yml +++ b/.github/workflows/dev-ci.yml @@ -72,12 +72,18 @@ jobs: run: npm run docs - name: Configure AWS Credentials uses: aws-actions/configure-aws-credentials@v1 + env: + ably_aws_account_id_sdk: ${{ secrets.TEST }} + if: ${{ env.ably_aws_account_id_sdk != '' }} with: aws-region: eu-west-2 role-to-assume: arn:aws:iam::${{ secrets.ABLY_AWS_ACCOUNT_ID_SDK }}:role/ably-sdk-builds-spaces role-session-name: "${{ github.run_id }}-${{ github.run_number }}" - name: Upload Documentation uses: ably/sdk-upload-action@v1 + env: + ably_aws_account_id_sdk: ${{ secrets.TEST }} + if: ${{ env.ably_aws_account_id_sdk != '' }} with: sourcePath: docs/typedoc/generated githubToken: ${{ secrets.GITHUB_TOKEN }}