diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2023-11-01 01:02:06 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2023-11-01 01:02:06 -0400 |
| commit | 88db0ee0b88a9066edb9d5a4333cfad098419fd2 (patch) | |
| tree | 6727aaa0cd49ad6f1a11c2eb51478ee4eda17d2d /tools/publish-cloudfront | |
| parent | 842bb149398c7e76ee586937abc1e60853cc7958 (diff) | |
Split publication into cloudfront and ec2 publish targets
Diffstat (limited to 'tools/publish-cloudfront')
| -rwxr-xr-x | tools/publish-cloudfront | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/publish-cloudfront b/tools/publish-cloudfront new file mode 100755 index 0000000..ee8aa63 --- /dev/null +++ b/tools/publish-cloudfront @@ -0,0 +1,9 @@ +#!/bin/bash -e + +cd "$(dirname "$0")/.." + +## tools/publish +## +## Publishes site/ to the S3 bucket hosting grimoire.ca + +exec aws s3 sync --delete site/ s3://grimoire.ca/ |
