Skip to content

Commit

Permalink
updated the make file so that we can update gh-pages branch conveniently
Browse files Browse the repository at this point in the history
  • Loading branch information
grapeot committed Sep 25, 2013
1 parent 6c44468 commit 22411a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Expand Up @@ -72,6 +72,10 @@ publish:
cp -ar $(OUTPUTDIR)/* $(WEBDIR)/; \
fi

pages: publish
git checkout gh-pages; \
cp -ar $(WEBDIR)/* .

ssh_upload: publish
scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR)

Expand Down

0 comments on commit 22411a7

Please sign in to comment.