Skip to content

Commit eef225f

Browse files
committed
Update deploy job
1 parent 4082ce0 commit eef225f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,8 @@ jobs:
7171
role-to-assume: arn:aws:iam::832054921972:role/masto-fe-standaloneDeployRole
7272
- name: Deploy to S3
7373
run: |
74-
aws s3 sync ./public s3://masto-fe-standalone --delete --acl public-read --cache-control "max-age=3600, public"
74+
aws s3 sync ./public s3://$S3_BUCKET_NAME --delete
7575
#aws cloudfront create-invalidation --distribution-id
76+
env:
77+
S3_BUCKET_NAME: ${{ vars.S3_BUCKET_NAME }}
78+

0 commit comments

Comments
 (0)