]> git.sur5r.net Git - cc65/commitdiff
First test of gh-pages push.
authorOliver Schmidt <ol.sc@web.de>
Tue, 4 Feb 2014 17:33:37 +0000 (18:33 +0100)
committerOliver Schmidt <ol.sc@web.de>
Tue, 4 Feb 2014 17:33:37 +0000 (18:33 +0100)
.travis.yml
doc/Makefile [new file with mode: 0644]

index 6a96d7fca3406e4ee7664f8d824d14d2acdcaf22..79e1a619f6e38c8a05e6625d05dcd3829a462946 100644 (file)
@@ -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 (file)
index 0000000..6696992
--- /dev/null
@@ -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