Skip to content

Commit

Permalink
Improve building and deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
denysdovhan committed Feb 13, 2017
1 parent dc7bf5f commit daf800d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: node_js
node_js:
- v6
- node
branches:
only: master
before_script:
Expand All @@ -9,7 +9,7 @@ before_script:
- git remote rm origin
- git remote add origin https://denysdovhan:${GH_TOKEN}@github.com/LambdaBooks/understandinges6ua.git
script:
- npm run deploy
- '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && npm run deploy || npm run build'
env:
global:
secure: YGdeZcRc7Wvlgo916Vdbc9Oa/3CTUhqQbfjQcTtpGYZSuO3vRqweRdcU0dt4m2HelyDqQ6dTt37TGZrY+zOTEWYX84TfHAgGV5FLU+hR1PhL+h8kvker2lK+TfnU0sOkD/939j5j1Lpe7dqaJODR1cN+UQ1R/IM0DT2oH73kHpmOmjNHrxGMr9AgUOUXaPrErc/qUmmkiLrLd7BH4pjdZcnmh8EhKvF5nd34Q6/+mjYMsO3DALcvh7GJReTjGG6qwiZy6OZbE7voh83+IMxkR0VBMumzEumZSaqdx9oUzDfxDZ8cOGKLTlMNGcloABLiHlurRDbSHO2gy02RcRiHwTgQkPCWL/sHD1/t12BgdGK+nUv+8IWyK0br6dw6sbBTStu/X5w9uEkKSPElfU5Otdmuc/hEt0aX5NwfrKYJy4W1K7F9zZs3At8DXJoy1G1oQghwr1C45xKXLt3Ztp4TSmHj+hpxyVNSXmahU9Mj00O0jUWot19apBtLf8BXr76ZtXktOJh3ubOEgoORpM762s3Xk0iYf5lFOUhrtTm7MAD6QqmG5fTMPNMT/BLlzxIWeK1LfXv64llVXAeVHSJ6raIDfJXUdV4MtNqgPapTy2ZkDtQ08OcvD2JFzZlqr5KL4bo5rLURbAlctsG9mn1nx/ElDCbQ+hwq1jyNNNCqG14=
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
],
"scripts": {
"install": "gitbook install",
"start": "npm run install && gitbook serve",
"build": "npm run install && gitbook build",
"start": "gitbook serve",
"build": "gitbook build",
"deploy": "npm run build && gh-pages -d _book -m \"Updated at $(date +'%a, %d %b %Y, %T, %Z')\" --add"
},
"repository": {
Expand Down

0 comments on commit daf800d

Please sign in to comment.