1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-24 04:34:35 +00:00
cc65/doc/Makefile

11 lines
583 B
Makefile
Raw Normal View History

2014-02-04 21:31:35 +01:00
GH_PAGES = ../../gh-pages
2014-02-04 18:33:37 +01:00
gh-pages:
2014-02-04 21:31:35 +01:00
git clone --branch=gh-pages https://$(GH_TOKEN)@github.com/oliverschmidt/cc65.git $(GH_PAGES)
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git config user.name "Oliver Schmidt"
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git config user.email "ol.sc@web.de"
echo date > $(GH_PAGES)/testfile.txt
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git add -A
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git commit -m "Updated doc from commit $(TRAVIS_COMMIT)."
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git push