Skip to content

Commit

Permalink
implement 'publish' target in doc Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
knipknap committed Oct 2, 2012
1 parent f13701c commit 9d6a397
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/Makefile
Expand Up @@ -10,5 +10,12 @@ html:
cd ..; ./version.sh --reset

publish: html
# TODO
mkdir -p .gh-pages
cd gh-pages; git clone git@github.com:knipknap/SpiffWorkflow.git .; \
git checkout gh-pages; \
rm -R *
cp -r html/* gh-pages
cd gh-pages; git add .; git commit -m "generated `date`"; \
git push origin gh-pages
rm -R .gh-pages
make clean

0 comments on commit 9d6a397

Please sign in to comment.