From ba1517202e5670a70f0092ef99a3e6456a5095bc Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Tue, 3 Dec 2024 15:33:21 +0000 Subject: [PATCH] Pass AWS_ACCOUNT through to workflows Because the e2e tests run in a workflow defined in another repo, we need to pass the secret through explicitly. --- .github/workflows/copilot_deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/copilot_deploy.yml b/.github/workflows/copilot_deploy.yml index 392bf7a3..96a52160 100644 --- a/.github/workflows/copilot_deploy.yml +++ b/.github/workflows/copilot_deploy.yml @@ -74,6 +74,7 @@ jobs: FSD_GH_APP_KEY: ${{ secrets.FSD_GH_APP_KEY }} FS_BASIC_AUTH_USERNAME: ${{ secrets.FS_BASIC_AUTH_USERNAME }} FS_BASIC_AUTH_PASSWORD: ${{ secrets.FS_BASIC_AUTH_PASSWORD }} + AWS_ACCOUNT: ${{ secrets.AWS_ACCOUNT }} uses: communitiesuk/funding-service-design-workflows/.github/workflows/post-deploy.yml@main with: run_performance_tests: ${{ inputs.run_performance_tests || true }} @@ -104,6 +105,7 @@ jobs: FSD_GH_APP_KEY: ${{ secrets.FSD_GH_APP_KEY }} FS_BASIC_AUTH_USERNAME: ${{ secrets.FS_BASIC_AUTH_USERNAME }} FS_BASIC_AUTH_PASSWORD: ${{ secrets.FS_BASIC_AUTH_PASSWORD }} + AWS_ACCOUNT: ${{ secrets.AWS_ACCOUNT }} uses: communitiesuk/funding-service-design-workflows/.github/workflows/post-deploy.yml@main with: run_performance_tests: ${{ inputs.run_performance_tests || false }} @@ -134,6 +136,7 @@ jobs: FSD_GH_APP_KEY: ${{ secrets.FSD_GH_APP_KEY }} FS_BASIC_AUTH_USERNAME: ${{ secrets.FS_BASIC_AUTH_USERNAME }} FS_BASIC_AUTH_PASSWORD: ${{ secrets.FS_BASIC_AUTH_PASSWORD }} + AWS_ACCOUNT: ${{ secrets.AWS_ACCOUNT }} uses: communitiesuk/funding-service-design-workflows/.github/workflows/post-deploy.yml@main with: run_performance_tests: ${{ inputs.run_performance_tests || false }}