Skip to content

Commit 04d6585

Browse files
committed
deploy only master branch
1 parent 891bd25 commit 04d6585

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/push-to-ghpages.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/sh
22

3+
if [ "$TRAVIS_BRANCH" != "master" ]; then
4+
exit 0
5+
fi
6+
37
rm -rf out || exit 0;
48
NODE_ENV=production npm run build
59
cp -rf __build__ out

0 commit comments

Comments
 (0)