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