mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
Avoid 'cd' in Makefile.
This commit is contained in:
parent
4e83ff8d59
commit
b8eb1c7794
17
doc/Makefile
17
doc/Makefile
@ -1,9 +1,10 @@
|
|||||||
|
GH_PAGES = ../../gh-pages
|
||||||
|
|
||||||
gh-pages:
|
gh-pages:
|
||||||
git clone --branch=gh-pages https://${GH_TOKEN}@github.com/oliverschmidt/cc65.git ../gh-pages
|
git clone --branch=gh-pages https://$(GH_TOKEN)@github.com/oliverschmidt/cc65.git $(GH_PAGES)
|
||||||
cd ../gh-pages
|
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git config user.name "Oliver Schmidt"
|
||||||
git config user.name "Oliver Schmidt"
|
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git config user.email "ol.sc@web.de"
|
||||||
git config user.email "ol.sc@web.de"
|
echo date > $(GH_PAGES)/testfile.txt
|
||||||
echo date > testfile.txt
|
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git add -A
|
||||||
git add -A
|
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git commit -m "Updated doc from commit $(TRAVIS_COMMIT)."
|
||||||
git commit -m "Updated doc from commit $(TRAVIS_COMMIT)."
|
git --work-tree=$(GH_PAGES) --git-dir=$(GH_PAGES)/.git push
|
||||||
git push
|
|
||||||
|
Loading…
Reference in New Issue
Block a user