Skip to content

Commit

Permalink
Merge pull request #46 from vechain/Bring-terraform-infra-to-dedicate…
Browse files Browse the repository at this point in the history
…d-repository2

Update build-deploy-fe.yml
  • Loading branch information
dougalrea authored May 15, 2024
2 parents 7eb7bb9 + 0a3ebb3 commit 791aa9f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-deploy-fe.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ on:
s3_bucket_name:
description: Name of the S3 bucket which stores static FE
required: true
type: string
type: choice
options:
- b3tr-dev-insight-fe
default: b3tr-dev-insight-fe
cloudfront_distribution_id:
description: ID of the Cloudfront distribution to invalidate
Expand Down Expand Up @@ -70,7 +72,7 @@ jobs:
role-to-assume: ${{ steps.determine-account.outputs.role_arn }}

- name: Upload to S3
run: aws s3 sync ./packages/frontend/dist s3://${{ inputs.s3_bucket_name }} --delete
run: aws s3 sync ./dist s3://${{ inputs.s3_bucket_name }} --delete

- name: Cloudfront Invalidation
run: |
Expand Down

0 comments on commit 791aa9f

Please sign in to comment.