mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2025-01-11 22:17:46 +00:00
Only push when it's not a PR
This commit is contained in:
parent
30faaa3138
commit
caced2a9bc
@ -1,4 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
if [ "$TRAVIS_PULL_REQUEST" == "false" ]
|
||||||
|
|
||||||
echo Starting push to gh-pages...
|
echo Starting push to gh-pages...
|
||||||
mkdir deploy
|
mkdir deploy
|
||||||
cd deploy
|
cd deploy
|
||||||
@ -15,3 +18,5 @@ git commit -m "Automatic built mkdocs | Travis Build $TRAVIS_BUILD_NUMBER pushed
|
|||||||
git push -fq origin gh-pages > /dev/null
|
git push -fq origin gh-pages > /dev/null
|
||||||
|
|
||||||
echo -e "Done"
|
echo -e "Done"
|
||||||
|
|
||||||
|
fi
|
Loading…
Reference in New Issue
Block a user