From 7105d45cbf268531a275c782014c8810c92fe302 Mon Sep 17 00:00:00 2001 From: Aaron Farr Date: Wed, 30 Oct 2024 10:09:50 -0600 Subject: [PATCH] #d7 update s3 ci to accomodate versioning --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a6a169ee..f6f7fdc2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,8 +77,7 @@ jobs: - name: Push to AWS S3 run: | echo Deploying $version - aws s3 cp dist s3://${{ secrets.APP_BUCKET }} --recursive - aws cloudfront create-invalidation --distribution-id ${{ secrets.DISTRIBUTION_ID }} --paths "/*" + aws s3 cp dist s3://${{ secrets.APP_BUCKET }}/$version --recursive release: needs: