1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-17 09:07:32 +00:00

Limit 'git add' to doc directory just to be sure.

This commit is contained in:
Oliver Schmidt 2014-02-06 12:44:46 +01:00
parent 0bf5111500
commit 1a4bbecaa6

View File

@ -39,7 +39,7 @@ ifdef GH_TOKEN
$(RM) -r $(GH_PAGES)/doc $(RM) -r $(GH_PAGES)/doc
mkdir $(GH_PAGES)/doc mkdir $(GH_PAGES)/doc
cp -R ../html/* $(GH_PAGES)/doc cp -R ../html/* $(GH_PAGES)/doc
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git add -A . git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git add -A doc
-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 commit -m "Updated doc from commit $(TRAVIS_COMMIT)."
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git push git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git push
endif endif