From 88db0ee0b88a9066edb9d5a4333cfad098419fd2 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Wed, 1 Nov 2023 01:02:06 -0400 Subject: Split publication into cloudfront and ec2 publish targets --- tools/publish-ec2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 tools/publish-ec2 (limited to 'tools/publish-ec2') diff --git a/tools/publish-ec2 b/tools/publish-ec2 new file mode 100755 index 0000000..9ee5d71 --- /dev/null +++ b/tools/publish-ec2 @@ -0,0 +1,11 @@ +#!/bin/bash -e + +cd "$(dirname "$0")/.." + +## tools/publish +## +## Publishes site/ to the S3 bucket hosting grimoire.ca + +exec rsync -zav --delete --progress \ + site/ \ + admin@grimoire.ca:/srv/grimoire.ca/webroot/ -- cgit v1.2.3