mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Merge branch 'master' into single-order-patches
This commit is contained in:
@@ -7,4 +7,4 @@ echo "--- Verifying branch is based on current master"
|
||||
exit_unless_master_merged
|
||||
|
||||
echo "--- Pushing branch"
|
||||
echo git push origin $BUILDKITE_COMMIT:master
|
||||
git push origin $BUILDKITE_COMMIT:master
|
||||
|
||||
@@ -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