From 4e66914c728874bd0fdef94d95149810f802d201 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Fri, 13 Jan 2023 15:36:12 -0700 Subject: [PATCH] temporary safeguard --- sync/sync-to-prod.delete.sh | 4 ++++ sync/sync-to-prod.sh | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sync/sync-to-prod.delete.sh b/sync/sync-to-prod.delete.sh index b1446b2..9058255 100644 --- a/sync/sync-to-prod.delete.sh +++ b/sync/sync-to-prod.delete.sh @@ -1,6 +1,10 @@ #!/bin/bash # Syncs everything from staging to production +if [[ "$RLREL" == "lh" ]] || [[ "$RLREL" == "beta" ]]; then + exit 1 +fi + # Source common variables # shellcheck disable=SC2046,1091,1090 source "$(dirname "$0")/common" diff --git a/sync/sync-to-prod.sh b/sync/sync-to-prod.sh index d62db36..da92f66 100644 --- a/sync/sync-to-prod.sh +++ b/sync/sync-to-prod.sh @@ -1,6 +1,10 @@ #!/bin/bash # Syncs everything from staging to production +if [[ "$RLREL" == "lh" ]] || [[ "$RLREL" == "beta" ]]; then + exit 1 +fi + # Source common variables # shellcheck disable=SC2046,1091,1090 source "$(dirname "$0")/common"