From 5547c2a102d91823c0d377e1f8148bbdfbf6f0e2 Mon Sep 17 00:00:00 2001 From: Maria Saladovnikova Date: Thu, 12 Dec 2024 17:34:49 +0000 Subject: [PATCH] add comment to biofile-finder's CloudFront --- .github/workflows/aws-deployment.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/aws-deployment.yml b/.github/workflows/aws-deployment.yml index f380d1e0..cb8fcc05 100644 --- a/.github/workflows/aws-deployment.yml +++ b/.github/workflows/aws-deployment.yml @@ -93,9 +93,10 @@ jobs: # Note that the command below will copy the files to the root of the S3 bucket e.g., s3://bff.allencell.org/ # If you want to copy files to a S3 prefix / subdirectory, you would want something like ${{ env.BFF_S3_BUCKET }}/your_prefix below - - name: Copy build filed to BFF S3 + - name: Copy build files to BFF S3 run: aws s3 sync ./packages/web/dist ${{ env.BFF_S3_BUCKET }} + # This isn't strictly necessary since this distribution only handles redirects and doesn't serve any content directly - name: Invalidate CloudFront biofile-finder cache run: aws cloudfront create-invalidation --distribution-id ${{ env.CLOUDFRONT_DISTRIBUTION_ID }} --paths "/*"