We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8034565 commit b1c7b1aCopy full SHA for b1c7b1a
.travis.yml
@@ -1,7 +1,13 @@
1
language: node_js
2
node_js: 8
3
before_script: yarn build
4
-after_success: './publish-examples.sh'
+after_success:
5
+ if ([ "$TRAVIS_BRANCH" == "master" ] || [ ! -z "$TRAVIS_TAG" ]) &&
6
+ [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
7
+ './publish-examples.sh'
8
+ else
9
+ echo "Skipping examples deployment..."
10
+ fi
11
deploy:
12
skip_cleanup: true
13
provider: npm
0 commit comments