Skip to content

Commit

Permalink
Only run doc generation on master merge
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielMSchmidt committed Jan 28, 2018
1 parent b63c702 commit 6f19904
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,6 @@ matrix:
script:
- ./scripts/demo-projects.ios.sh

# Website
- language: node_js
env:
- NAME='Website - master'
node_js: 8
script:
- git config --global user.email "$GIT_USER@users.noreply.github.com"
- git config --global user.name "Wix"
- echo "machine github.com login $GIT_USER password $GIT_TOKEN" > ~/.netrc
- cd website && npm install && GIT_USER=$GIT_USER CURRENT_BRANCH=master npm run publish-gh-pages
branches:
only:
- master

branches:
only:
- master
Expand All @@ -74,3 +60,9 @@ notifications:
slack:
secure: ExAwGcI4WlRoi/F2AKMds2eNQZ90susGT2k/CSU1ZQdTL5jaeMW6/i86Uz6Goilnd7qL/1GhlHF9Q48yYtctLVg4zSKH3uclHDDtPfWsF/R7+UWBPYtvhuW2VvL4ota8b0QzUlTz3iS0G3iD4AFqnAZUgYqjSeF1arv+YKOTEXzGyPtj3xjD9TSSjamnSEgGd18RRKpG8FWQr631yOSucikUsYcetV8bUTs6PtjcIC0XK1d1Nv/eMJxSwTQCAptQbxPTO0FBEEH+lQ6H5oQ7mvyNQ7BBUEunUWkUsCh85SsqHLbnCaiPojmI8ICUJBDNSDvzvyt1JJOxnjWtXlLu5xLOQRYeMvr9p66uBMTxTw2LXagSw4bxAf8LHXK/EOssTv+bE6gujNga0FF3jOLTDUZF93OT7TCsrVQrIkiKBl/YoJVc137dz/fUz3wA/JkmqQIV0i9BMUVNYlBGg3J9Omo8nQXTEvqNpYdSfWEm6cZT73kRrdiuittcBXUeWaTkqThmL8KMO5u+InUQhOhhxMmZ/u3DZRTxtHu9ndOdMrWaOmDj4MXpTsml6qelFHMdQoNQubUgdpSb0H0KvGObnQwFR3V2alPT6Ovx1e+XzjBiV2CNP3jHci52JGAlPtGRxctiXUYL9TZYgpJdO/IxJR/lAhA7ZJLsfHGL4LUF65o=
secure: KyGnFJDelMPoz0MklVWYxYYaMakI/AMSzsLO+3ouF+oksHKAqwWSG7rzbAeb1sQGj0uc3t2cIbRDYMPFCbvnhOC+Z2u2qg6xHlrYsaFO6+yNro0s5WxQ+KvJ4P+VqlqKi9XSE9G+kwDz/0FbERJ5sOnDa8ueZ8KDfJEs/ZZRQmedw3bV1p0WWzJKNRsLk3bIbHYk9UXLcA42/QRlymrhBnwVHr6LZfOE19BV5wHScFp/hGz8ajPo8+KCvgUcM/sCIZbeId8BDMc+W91Tk9YzZcxRP5/upq3Sl3FFrPo8LYrJq+tdCGlnHQDBv+yuEC1WlM90V4bgRLqs0w1QuQsFL3adJvmNXHb80gwShmNaY4aS52/jzgbi+mBX2wVAm0VXwLPXnWDo2iIOGkELGBq3PJwwO8W4ES2m0LfLjOTrYG+PLB5FIWae++gDhHDJ9f9tUSK+SxXVvGHRPXNOnpqecGBYxurQhWDuumpe49S2T8Zx+uotjKYRm9ECW4IL8JIzPEVYkRpSoau/zH6urUacDnfFKtvhYDq89/cc/Y3vwhWY8+ixvQH22+HZc3b54KTY/o67Q3IXsAP/yx7AexvJuh56GCgONPchsJ0PX4lIytzyHKwCzQC2UuqgKismDVTlsdlSijfNnaXN2HEhbugwrXJPP+6Kq/TMlPuDSjfi8OA=
# Deploy website
script:
- git config --global user.email "$GIT_USER@users.noreply.github.com"
- git config --global user.name "Wix"
- echo "machine github.com login $GIT_USER password $GIT_TOKEN" > ~/.netrc
- cd website && npm install && GIT_USER=$GIT_USER CURRENT_BRANCH=master npm run publish-gh-pages

0 comments on commit 6f19904

Please sign in to comment.