Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
3da6bb62
Commit
3da6bb62
authored
May 25, 2017
by
Dave Machado
Browse files
Update target branch condition off master for testing
parent
4e2df625
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/deploy.sh
View file @
3da6bb62
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment