Skip to content

Commit bc98aed

Browse files
committed
update(ci) deploy the front end dist to a version specific folder
1 parent 6ecb7cd commit bc98aed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,7 @@ jobs:
8686
- name: Push to AWS S3
8787
run: |
8888
echo Deploying $version
89-
aws s3 cp dist s3://${{ secrets.APP_BUCKET }} --recursive
90-
aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION_ID }} --paths "/*"
89+
aws s3 cp dist s3://${{ secrets.APP_BUCKET }}/$version --recursive
9190
9291
release:
9392
needs:

0 commit comments

Comments
 (0)