Skip to content

Commit 450b313

Browse files
committed
special sync rule to make sure browsers see this as a JS file that is gzipped
1 parent 8db52fb commit 450b313

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/makefile.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,5 @@ jobs:
116116
117117
- name: Copy cpo-main and related JS to S3
118118
run: |
119-
aws s3 sync ./build/web/js s3://pyret-horizon/horizon-action-test --acl public-read
119+
aws s3 sync ./build/web/js s3://pyret-horizon/horizon-action-test --acl public-read --exclude "*" --include "cpo-main.jarr.gz.js" --content-encoding gzip
120+
aws s3 sync ./build/web/js s3://pyret-horizon/horizon-action-test --acl public-read --exclude "cpo-main.jarr.js.gz"

0 commit comments

Comments
 (0)