Skip to content

Commit f550098

Browse files
committed
chore: add CLOUDFRONT_DISTRIBUTION_ID
1 parent 383cdf0 commit f550098

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/cow-files.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
uses: aws-actions/configure-aws-credentials@v2
3232
with:
3333
# TODO: Replace this role with a new one specific for cow-files
34-
# Current role is specific to token-lists and might not have correct permissions
3534
role-to-assume: arn:aws:iam::693696263829:role/token-list-github-action-role
3635
role-session-name: githubactionsession
3736
aws-region: eu-central-1
@@ -47,5 +46,5 @@ jobs:
4746
- name: Invalidate CloudFront cache
4847
run: |
4948
aws cloudfront create-invalidation \
50-
--distribution-id ${{ secrets.DISTRIBUTION }} \
49+
--distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID }} \
5150
--paths "/cow-files/*"

0 commit comments

Comments
 (0)