summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-01-18 13:28:59 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-01-18 13:28:59 -0800
commitf7e32afd4bb79f54c4dc86c1b6589fbc3565b20f (patch)
treed6ba2dbd6f4cff92850cd5b63f91c24aa31f8eab /Makefile
parentAdd TravisCI badge to the README. (diff)
downloadlumberjaph-f7e32afd4bb79f54c4dc86c1b6589fbc3565b20f.tar.gz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
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
+