From 6e3829bb1eee5a652ff009ee103b2d0ebaed2c8d Mon Sep 17 00:00:00 2001 From: griffinfujioka Date: Thu, 21 Mar 2024 17:18:10 +0000 Subject: [PATCH] Final fix --- .github/workflows/aws-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/aws-deploy.yml b/.github/workflows/aws-deploy.yml index 7868592b5..3c51404eb 100644 --- a/.github/workflows/aws-deploy.yml +++ b/.github/workflows/aws-deploy.yml @@ -62,7 +62,7 @@ jobs: fi - name: Write an arbitrary file to S3 - just to demonstrate how. - run: aws s3 sync . ${{ env.S3_BUCKET }} + run: aws s3 sync src/assets ${{ env.S3_BUCKET }} # the src/assets is an arbitrary directory chosen for demonstration purposes - name: Invalidate CloudFront cache run: aws cloudfront create-invalidation --distribution-id ${{ env.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*" \ No newline at end of file