Skip to content

Commit 57a7615

Browse files
committed
Update staging pdf sync
1 parent 3f1dc16 commit 57a7615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-production.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
run: aws s3 sync --cache-control "public, max-age=0, must-revalidate" --include "*.html" --include="sw.js" --include="*.json" --include "*.css" --exclude="*.js" --exclude="*.gif" --exclude="*.png" --exclude="*.svg" --delete public/ s3://${{ secrets.PRODUCTION_BUCKET_NAME }}/
8181

8282
- name: Sync PDF
83-
run: aws s3 sync --cache-control "public, max-age=86400, must-revalidate" --include "*.pdf" --delete public/ s3://${{ secrets.STAGING_BUCKET_NAME }}/
83+
run: aws s3 sync --cache-control "public, max-age=86400, must-revalidate" --include "*.pdf" --exclude="*.js" --exclude="*.gif" --exclude="*.png" --exclude="*.svg" --exclude="*.css" --exclude="*.html" --exclude="*.json" --exclude="sw.json" --delete public/ s3://${{ secrets.PRODUCTION_BUCKET_NAME }}/
8484

8585
- name: Invalidate cloudflare cache
8686
uses: nathanvaughn/actions-cloudflare-purge@master

0 commit comments

Comments
 (0)