From: Oliver Schmidt Date: Tue, 4 Feb 2014 17:33:37 +0000 (+0100) Subject: First test of gh-pages push. X-Git-Tag: V2.15~184 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4e83ff8d591839f61a4f558e318ec8032425cac3;p=cc65 First test of gh-pages push. --- diff --git a/.travis.yml b/.travis.yml index 6a96d7fca..79e1a619f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,6 +4,7 @@ install: - sudo apt-get install linuxdoc-tools script: - make + - make -C doc gh-pages env: global: - secure: "h+hoQdEHGPLNwaqGKmSaM8NBRDLc2X+W05VsnNG2Feq/wPv/AiBjONNlzN7jRf6D6f3aoPXaQ2Lc3bYWdxGvFRCmwiofdxkJI9n5L8HPHLZ2lf37MQsXmGJzoTFOvjPLj73H6HlbI9Ux0El3zO6hvalxiXj6TfoZ41dbhNyvpYk=" diff --git a/doc/Makefile b/doc/Makefile new file mode 100644 index 000000000..66969920d --- /dev/null +++ b/doc/Makefile @@ -0,0 +1,9 @@ +gh-pages: + git clone --branch=gh-pages https://${GH_TOKEN}@github.com/oliverschmidt/cc65.git ../gh-pages + cd ../gh-pages + git config user.name "Oliver Schmidt" + git config user.email "ol.sc@web.de" + echo date > testfile.txt + git add -A + git commit -m "Updated doc from commit $(TRAVIS_COMMIT)." + git push