From f7e32afd4bb79f54c4dc86c1b6589fbc3565b20f Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 18 Jan 2016 13:28:59 -0800 Subject: Publish the blog to Google Cloud Storage. Rename the repository to **lumberjaph.net** and publish the content to a Google Cloud Storage bucket instead of GitHub Pages. Closes #8 --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3952295..e32de9d 100644 --- a/Makefile +++ b/Makefile @@ -12,3 +12,9 @@ deps: test: build bundle exec htmlproof ./_site --only-4xx --check-html --disable-external + +publish: deps build + gsutil -m rsync -R _site/ gs://b.lumberjaph.net + gsutil -m acl ch -u AllUsers:R -R gs://b.lumberjaph.net/ + gsutil -m web set -m index.html -e 404.html gs://b.lumberjaph.net + -- cgit v1.2.3