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 b1c7b1a commit 64207eeCopy full SHA for 64207ee
publish-examples.sh
@@ -1,7 +1,10 @@
1
#!/bin/sh
2
3
-echo "Publishing examples to Github pages...."
4
-
5
-git config --global user.email "travis@travis-ci.org"
6
-git config --global user.name "Travis CI"
7
-yarn publish:examples
+if [ -n "$TRAVIS_TAG" ]; then
+ echo "Publishing examples to Github pages...."
+ git config --global user.email "travis@travis-ci.org"
+ git config --global user.name "Travis CI"
+ yarn publish:examples
8
+else
9
+ echo "Skipping examples deployment..."
10
+fi
0 commit comments