Skip to content

Commit

Permalink
Merge pull request #1287 from UKHSA-Internal/task/allow-flushing-cach…
Browse files Browse the repository at this point in the history
…es-of-perf-in-workflow/CDD-2526

Task/allow flushing caches of perf in workflow/cdd 2526
  • Loading branch information
A-Ashiq authored Mar 5, 2025
2 parents cf1580d + dbef21b commit a0f66b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/configure-aws-credentials/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ runs:

- name: Configure AWS credentials for test account
uses: aws-actions/configure-aws-credentials@v4
if: ${{ inputs.account-name == 'test' }}
if: ${{ contains(fromJSON('["test", "perf"]'), inputs.account-name) }}
with:
role-to-assume: ${{ inputs.test-account-role }}
aws-region: ${{ inputs.aws-region }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/flush-caches-well-known-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- dpd
- test
- staging
- perf

env:
AWS_REGION: "eu-west-2"
Expand Down

0 comments on commit a0f66b6

Please sign in to comment.