X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile.travis;h=71811eacbafa30036ae53dff63b7d3c941ea63fc;hb=2eac69a94361323bf7556d2cdde8f61c85c5ef99;hp=6f83e24392a452cebca9706e32ccc3734081da48;hpb=91b9451c60682c0fda984750406d58b1b019f87e;p=cc65 diff --git a/Makefile.travis b/Makefile.travis index 6f83e2439..71811eacb 100644 --- a/Makefile.travis +++ b/Makefile.travis @@ -6,26 +6,25 @@ all: gh-pages sf-files GH_NAME = Oliver Schmidt GH_MAIL = ol.sc@web.de -GH_PATH = ../gh-pages +GH_PATH = ../doc gh-pages: ifdef GH_TOKEN - @echo 'git clone --branch=gh-pages https://$$(GH_TOKEN)@github.com/cc65/cc65.git $(GH_PATH)' - @git clone --branch=gh-pages https://$(GH_TOKEN)@github.com/cc65/cc65.git $(GH_PATH) + @echo 'git clone https://$$(GH_TOKEN)@github.com/cc65/doc.git $(GH_PATH)' + @git clone https://$(GH_TOKEN)@github.com/cc65/doc.git $(GH_PATH) cd $(GH_PATH) && git config user.name "$(GH_NAME)" cd $(GH_PATH) && git config user.email "$(GH_MAIL)" cd $(GH_PATH) && git config push.default simple - cd $(GH_PATH) && $(RM) -r doc - cd $(GH_PATH) && mkdir doc - cp html/*.* $(GH_PATH)/doc - cd $(GH_PATH) && git add -A doc + $(RM) $(GH_PATH)/*.* + cp html/*.* $(GH_PATH) + cd $(GH_PATH) && git add -A -cd $(GH_PATH) && git commit -m "Updated from commit $(TRAVIS_COMMIT)." - cd $(GH_PATH) && git push + cd $(GH_PATH) && git push -q endif SF_USER = oliverschmidt SF_HOST = frs.sourceforge.net -SF_FILE = /home/frs/project/cc65/cc65-snapshot-win64.zip +SF_FILE = /home/frs/project/cc65/cc65-snapshot-win32.zip SCPFLAGS = -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -q