Only publish the website for committed changes
This commit is contained in:
parent
a68f2b50a4
commit
25aafc3e7a
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue