mirror of
https://github.com/FranP-code/public-apis.git
synced 2025-10-13 00:03:04 +00:00
Remove branch logic from deploy script
the branch logic lives in main.sh, so no need to check again
This commit is contained in:
@@ -2,12 +2,6 @@
|
||||
|
||||
set -o errexit -o nounset
|
||||
|
||||
if [ "$TRAVIS_BRANCH" != "master" ]
|
||||
then
|
||||
echo "This commit was made against $TRAVIS_BRANCH and not master! No deploy!"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
rev=$(git rev-parse --short HEAD)
|
||||
|
||||
mkdir deploy
|
||||
|
||||
Reference in New Issue
Block a user