mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Deploy scripts display their output
This commit is contained in:
@@ -12,4 +12,6 @@ echo "--- Saving baseline data for staging"
|
||||
ssh ofn-staging2 "/home/openfoodweb/apps/openfoodweb/current/script/ci/save_staging_baseline.sh $BUILDKITE_COMMIT"
|
||||
|
||||
echo "--- Pushing to production"
|
||||
[[ $(git push production $BUILDKITE_COMMIT:master --force 2>&1) =~ "Done" ]]
|
||||
output=$(git push production $BUILDKITE_COMMIT:master --force 2>&1)
|
||||
echo $output
|
||||
[[ $output =~ "Done" ]]
|
||||
|
||||
@@ -16,4 +16,6 @@ echo "--- Loading baseline data"
|
||||
ssh ofn-staging2 "/home/openfoodweb/apps/openfoodweb/current/script/ci/load_staging_baseline.sh"
|
||||
|
||||
echo "--- Pushing to staging"
|
||||
[[ $(git push staging2 $BUILDKITE_COMMIT:master --force 2>&1) =~ "Done" ]]
|
||||
output=$(git push staging2 $BUILDKITE_COMMIT:master --force 2>&1)
|
||||
echo $output
|
||||
[[ $output =~ "Done" ]]
|
||||
|
||||
Reference in New Issue
Block a user