8 echo $(TRAVIS_COMMIT) | zip -z cc65
10 git clone --branch=gh-pages https://$(GH_TOKEN)@github.com/cc65/cc65.git $(GH_PAGES)
11 cd $(GH_PAGES) && git config user.name "Oliver Schmidt"
12 cd $(GH_PAGES) && git config user.email "ol.sc@web.de"
13 cd $(GH_PAGES) && git config push.default simple
14 cd $(GH_PAGES) && $(RM) -r doc download
15 cd $(GH_PAGES) && mkdir doc download
16 cp html/*.* $(GH_PAGES)/doc
17 cp cc65.zip $(GH_PAGES)/download/cc65-snapshot-win32.zip
18 cd $(GH_PAGES) && git add -A doc download
19 cd $(GH_PAGES) && git commit -m "Updated from commit $(TRAVIS_COMMIT)."
20 cd $(GH_PAGES) && git push