From 8ed8bef2cb00a9ce9b5f1f4adb7f787364dbeaeb Mon Sep 17 00:00:00 2001 From: kcwww Date: Fri, 19 Apr 2024 13:51:03 +0900 Subject: [PATCH] chore: add bucket env --- .github/workflows/tempFrontDeploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tempFrontDeploy.yml b/.github/workflows/tempFrontDeploy.yml index 227a9d0..8060f8f 100644 --- a/.github/workflows/tempFrontDeploy.yml +++ b/.github/workflows/tempFrontDeploy.yml @@ -42,9 +42,11 @@ jobs: aws-region: ap-northeast-2 - name: Upload to S3 + env: + BUCKET_NAME: ${{ secrets.AWS_S3_BUCKET_NAME}} run: | aws s3 sync \ - ./front/dist s3://snowball-ssock --delete + ./front/dist s3://$BUCKET_NAME --delete - name: CloudFront Invalidation env: