From 4e83ff8d591839f61a4f558e318ec8032425cac3 Mon Sep 17 00:00:00 2001 From: Oliver Schmidt Date: Tue, 4 Feb 2014 18:33:37 +0100 Subject: [PATCH] First test of gh-pages push. --- .travis.yml | 1 + doc/Makefile | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 doc/Makefile 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 -- 2.39.5