Only publish the website for committed changes

This commit is contained in:
Christopher Chedeau 2015-03-15 21:08:17 -07:00
parent a68f2b50a4
commit 25aafc3e7a
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ install:
- npm test
# Automatically publish the website
script: cd website; npm install; ./setup.sh; ./publish.sh; echo
script: '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && (cd website; npm install; ./setup.sh; ./publish.sh; echo)'
env:
- secure: "g8Xjbslq4R+3oLVgBvXM5QhiJ+7q+H+dH4+sXReyyZ64M5gf32U7oOjQNVkdx79dnGFc6a619otGsX4RiEkQlkiR+4uCgJUIgPwN4YFCIgYu4Z/0FnbbRu5yyywh5zv4WwGmAtMkgGztoMBnps5gCiPUM/RGIqwVk0Ghbmh5c2k="
branches: