From 7db1890c9926191367697826c0de881644a05286 Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Tue, 26 Mar 2013 11:27:36 -0700 Subject: [PATCH] New 'make github-deploy' rule to deploy the docs to github-pages --- docs/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Makefile b/docs/Makefile index f58854dcdb..55e4ad6eb5 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -62,6 +62,11 @@ push: @cd _build/html/ ; \ dotcloud push +github-deploy: docs + rm -fr github-deploy + git clone ssh://git@github.com/dotcloud/docker github-deploy + cd github-deploy && git checkout -f gh-pages && git rm -r * && rsync -avH ../_build/html/ ./ && touch .nojekyll && echo "docker.io" > CNAME && git add * && git commit -m "Updating docs" + $(VERSIONS): @echo "Hello world"