Skip to content

Commit e523d8d

Browse files
committed
ci: set cache-control when uploading to CDN
1 parent ec7ec4c commit e523d8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,4 +67,4 @@ jobs:
6767
aws-region: us-east-1
6868
- name: Upload to static.hsreplay.net
6969
run: |
70-
aws s3 sync --delete dist/ s3://static.hsreplay.net/joust/
70+
aws s3 sync --delete dist/ s3://static.hsreplay.net/joust/ --cache-control "public, max-age=60, stale-while-revalidate=3600, stale-if-error=86400"

0 commit comments

Comments
 (0)