Commit f5b50616 authored by Dave Machado's avatar Dave Machado
Browse files

move deploy logic into main script

parent c16374a3
......@@ -9,7 +9,4 @@ before_script:
- cd build
script:
- ./main.sh
after_success:
- ./build.sh
- ./deploy.sh
\ No newline at end of file
......@@ -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..."
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment