Skip to content

Commit

Permalink
WIP: AWS metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Apr 5, 2024
1 parent 1c87f0f commit a365c02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ jobs:
run: |
pip install awscli
aws s3 sync _shinylive s3://shinylive.io/_debug --delete
aws s3 cp --content-type="application/wasm" --metadata-directive="REPLACE" s3://shinylive.io/_debug/r/shinylive/webr/library.data s3://shinylive.io/_debug/r/shinylive/webr/library.data
aws s3 cp --exclude "*" --include "*.data" --include "*.so" --recursive --content-type="application/wasm" --metadata-directive="REPLACE" s3://shinylive.io/_debug/r/shinylive/webr/ s3://shinylive.io/_debug/r/shinylive/webr/
aws s3 cp --exclude "*" --include "*.js.metadata" --recursive --content-type="text/javascript" --metadata-directive="REPLACE" s3://shinylive.io/_debug/r/shinylive/webr/ s3://shinylive.io/_debug/r/shinylive/webr/
aws cloudfront create-invalidation --distribution-id $AWS_CLOUDFRONT_DISTRIBUTION_ID --paths "/_debug/*"
# =====================================================
Expand Down

0 comments on commit a365c02

Please sign in to comment.