diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-12 20:47:13 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2021-12-12 20:47:13 +0100 |
| commit | c0d27c055055f4aada0a96b779e0bd661347160c (patch) | |
| tree | 7fe4dea3b7328d7b15305f21e3e295405786ff88 /scripts | |
| parent | da393520c4a1b33bffdfe26974e817f2c65267d3 (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..771f583 --- /dev/null +++ b/scripts/upload.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env sh + +: "${S3_BUCKET:=insultos.limited.pizza}" + +echo "Uploading to $S3_BUCKET" +aws s3 sync --acl public-read --delete build s3://$S3_BUCKET |