summaryrefslogtreecommitdiff
path: root/tools/publish
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2022-02-26 13:13:21 -0500
committerOwen Jacobson <owen@grimoire.ca>2022-02-26 13:20:38 -0500
commit9e92498533eeba0033f5096421b159eb47802bf8 (patch)
tree823ba319f91dba2994997f147ec2e51a1860eb83 /tools/publish
parent84bae43e6f5d7a8a47805cd9fad2d7757a147f46 (diff)
Start using the tools/ convention for standard processes
Diffstat (limited to 'tools/publish')
-rwxr-xr-xtools/publish9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/publish b/tools/publish
new file mode 100755
index 0000000..ee8aa63
--- /dev/null
+++ b/tools/publish
@@ -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/