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
f5b50616
Commit
f5b50616
authored
Aug 08, 2017
by
Dave Machado
Browse files
move deploy logic into main script
parent
c16374a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
.travis.yml
View file @
f5b50616
...
...
@@ -9,7 +9,4 @@ before_script:
-
cd build
script
:
-
./main.sh
after_success
:
-
./build.sh
-
./deploy.sh
\ No newline at end of file
build/main.sh
View file @
f5b50616
...
...
@@ -25,6 +25,12 @@ if [[ $? != 0 ]]; then
exit
1
else
echo
"format validation passed!"
build.sh
&&
deploy.sh
if
[[
$?
!=
0
]]
;
then
echo
"JSON build and deploy failed!"
else
echo
"JSON build and deploy success!"
fi
fi
echo
"running link validation..."
...
...
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