diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-19 14:21:33 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-19 14:21:33 +0100 |
| commit | 5d9f7190bd118fe4d44594d7a9584de98b527467 (patch) | |
| tree | c323938b4626290a227a652380af769d7f4c4518 /scripts | |
| parent | 29f687276d9e9ef01ce70ebd210a01386ca581ae (diff) | |
Port to svelte
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/mime.types | 11 | ||||
| -rw-r--r-- | scripts/upload.sh | 6 |
2 files changed, 17 insertions, 0 deletions
diff --git a/scripts/mime.types b/scripts/mime.types new file mode 100644 index 0000000..19eb627 --- /dev/null +++ b/scripts/mime.types @@ -0,0 +1,11 @@ +application/javascript js mjs cjs +application/json json +application/manifest+json webmanifest +application/zip zip +image/gif gif +image/jpeg jpg jpeg +image/png png +image/vnd.microsoft.icon ico +text/css css +text/html html htm +text/plain txt diff --git a/scripts/upload.sh b/scripts/upload.sh new file mode 100644 index 0000000..288a016 --- /dev/null +++ b/scripts/upload.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +: "${S3_BUCKET:=corona.limited.pizza}" + +echo "Uploading to $S3_BUCKET" +aws s3 sync --acl public-read --delete build s3://$S3_BUCKET |