mirror of
https://github.com/public-apis/public-apis
synced 2025-01-23 09:27:28 +01:00
Update target branch condition off master for testing
This commit is contained in:
parent
4e2df625d3
commit
3da6bb62d4
@ -2,7 +2,7 @@
|
||||
|
||||
set -o errexit -o nounset
|
||||
|
||||
if [ "$TRAVIS_BRANCH" != "master" ]
|
||||
if [ "$TRAVIS_BRANCH" != "feature/markdown-tables-to-json" ]
|
||||
then
|
||||
echo "This commit was made against $TRAVIS_BRANCH and not master! No deploy!"
|
||||
exit 0
|
||||
@ -14,8 +14,8 @@ mkdir deploy
|
||||
cd deploy
|
||||
|
||||
git init
|
||||
git config user.name "Travis CI"
|
||||
git config user.email "build@travis.org"
|
||||
git config --global user.name "Travis CI"
|
||||
git config --global user.email "build@travis.org"
|
||||
|
||||
git remote add upstream "https://$GH_TOKEN@github.com/davemachado/public-apis.git"
|
||||
git fetch upstream
|
||||
|
Loading…
Reference in New Issue
Block a user