Parcourir la source

move deploy logic into main script

pull/454/head
Dave Machado il y a 6 ans
Parent
révision
f5b506165e
2 fichiers modifiés avec 7 ajouts et 4 suppressions
  1. +1
    -4
      .travis.yml
  2. +6
    -0
      build/main.sh

+ 1
- 4
.travis.yml Voir le fichier

@@ -9,7 +9,4 @@ before_script:
- cd build
script:
- ./main.sh
after_success:
- ./build.sh
- ./deploy.sh

+ 6
- 0
build/main.sh Voir le fichier

@@ -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..."


Chargement…
Annuler
Enregistrer