Skip to content

Commit 64207ee

Browse files
authored
Update publish-examples.sh
1 parent b1c7b1a commit 64207ee

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

publish-examples.sh

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/bin/sh
22

3-
echo "Publishing examples to Github pages...."
4-
5-
git config --global user.email "[email protected]"
6-
git config --global user.name "Travis CI"
7-
yarn publish:examples
3+
if [ -n "$TRAVIS_TAG" ]; then
4+
echo "Publishing examples to Github pages...."
5+
git config --global user.email "[email protected]"
6+
git config --global user.name "Travis CI"
7+
yarn publish:examples
8+
else
9+
echo "Skipping examples deployment..."
10+
fi

0 commit comments

Comments
 (0)