From 459ab6af982bc019606f3db52e4a91ae68043b7e Mon Sep 17 00:00:00 2001 From: Zero Date: Tue, 2 Jan 2024 19:21:03 +0900 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 520b45ff..458114e6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -44,7 +44,9 @@ jobs: - name: CloudFront Invalidation env: - CLOUD_FRONT_ID: ${{ secrets.AWS_CLOUDFRONT_ID}} + AWS_ACCESS_KEY_ID: ${{ secrets.AWS_S3_ACCESS_KEY_ID }} + AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_S3_SECRET_ACCESS_KEY_ID }} + CLOUD_FRONT_ID: ${{ secrets.AWS_CLOUDFRONT_ID }} run: | aws cloudfront create-invalidation \ --distribution-id $CLOUD_FRONT_ID --paths /*