Skip to content

Commit

Permalink
Set application/wasm MIME when uploading to AWS
Browse files Browse the repository at this point in the history
  • Loading branch information
georgestagg committed Oct 24, 2023
1 parent da1f705 commit 9869ad3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ jobs:
- name: Upload files to S3 bucket
run: |
aws s3 sync . s3://${{ secrets.AWS_S3_BUCKET }}/_webr/${{ github.ref_name }}/
aws s3 cp --exclude "*" --include "*.data" --include "*.so" --recursive \
--content-type="application/wasm" --metadata-directive="REPLACE" \
s3://${{ secrets.AWS_S3_BUCKET }}/_webr/${{ github.ref_name }}/ \
s3://${{ secrets.AWS_S3_BUCKET }}/_webr/${{ github.ref_name }}/
deploy_docs:
name: Deploy webR documentation to S3
needs: build
Expand Down

0 comments on commit 9869ad3

Please sign in to comment.