From 7f54578c30428450b6d0152e2ddd33ea241a2b25 Mon Sep 17 00:00:00 2001 From: Kevin Brubeck Unhammer Date: Mon, 18 May 2015 12:57:25 +0200 Subject: [PATCH] make gh-pages --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 3639f14..4b522e5 100644 --- a/Makefile +++ b/Makefile @@ -39,3 +39,14 @@ configure: .PHONY: build doc test all install uninstall reinstall clean distclean configure # OASIS_STOP + +gh-pages: doc + git clone `git config --get remote.origin.url` .gh-pages --reference . + git -C .gh-pages checkout --orphan gh-pages + git -C .gh-pages reset + git -C .gh-pages clean -dxf + cp -t .gh-pages/ _build/wshiml_api.docdir/* + git -C .gh-pages add . + git -C .gh-pages commit -m "Update Pages" + git -C .gh-pages push origin gh-pages -f + rm -rf .gh-pages