aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoe Hand <joe@joeahand.com>2016-12-17 12:38:04 -0800
committerJoe Hand <joe@joeahand.com>2016-12-17 12:38:04 -0800
commit7a13cde80201fa0ca7c3a4bf31926702529d5a77 (patch)
tree91ccb908159da15b5fd2cb3e5a1fcb48d82fffca
parent58097e71210a428762aa0bd2a1ab20185d8a7085 (diff)
downloaddat-docs-7a13cde80201fa0ca7c3a4bf31926702529d5a77.tar.gz
dat-docs-7a13cde80201fa0ca7c3a4bf31926702529d5a77.zip
add travis deploy
-rw-r--r--.travis.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c0073ba
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+language: node_js
+node_js:
+ - stable
+
+branches:
+ only:
+ - master
+
+before_script:
+ - git config --global user.email "robot@overlord.industries"
+ - git config --global user.name "Travis CI"
+ - git remote rm origin
+ - git remote add origin https://joehand:${GH_TOKEN}@github.com/datproject/docs.git
+
+env:
+ global:
+ - secure: encrypted-github-token
+ - secure: >-
+ b5NkZvr5v6+ROP2fxPV2NkkoXd5WAcaghTJHWEPINGW7fmeiHg8Qz4vmQy7i/rulsbgtpmnHYmx89yiHR+HTaZTWxqoUe0Ju6D5SLEzBB2dYtFi3X9sTfr3wEkyX8xF+4IFT9Rkv+8TsSj/jAOk7t49Gq0fAWRZTcZOfWL4LTzCgVwQG6QGBoYT7LB2FrbdfyqlwCkKBu2bCtc0bMcBRAMbcFDPOHcK+yAZGh7vs9NE9C7b0DdZLyzeigZ0loRqCTVa7SMXbFwj2tjhmKBXgFFKykIxq/fppsr2+QVDvFbe6MeKZArKapTSIiiHv6LSW3Uqrsh6vpjnlJz/VFPP6H03AM4IxhDzG7qAeBaa3OxXi1GWl4/gBcf4TlYmBksSTYv3WGh36oIPVpRBNDSbJ3pcvOP6cfbUegub/8zn8uxlZJ+g+YZyqxAn8CIgIpVXjJRyVBaIg9wB5XkmDfQYWANtQtphbUQBjitGxEBcSnFmRyl2Cb/9fJ2bzS/l21gQ/DTTs4hhzxGrWK1uLOmXCYz4r1uswvE8yXVauJTqtssMtLEDzAld1Db+nSo1ALMxtrO6EBNy+7g+86Tkonz4J/dPsyJIXqoQVcTRFr+Xu/ThNs20JBWEGE6VxBLew1mIRBLGf0v+onTvWvyWUTtHXnomTJRA9fJRaVYTSBE/BhYs=
+
+install:
+ - npm install
+
+deploy:
+ provider: script
+ script: npm run update && npm run deploy
+ skip_cleanup: true