From f5a4d2f563b702e15536d79103a950aa6b7418c9 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Mon, 13 Nov 2023 13:22:16 -0700 Subject: [PATCH] remove erroneous sync-to-vault --- sync/sync-to-vault.sh | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 sync/sync-to-vault.sh diff --git a/sync/sync-to-vault.sh b/sync/sync-to-vault.sh deleted file mode 100644 index 2324a35..0000000 --- a/sync/sync-to-vault.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/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" - -REV=${REVISION}${APPEND_TO_DIR} - -cd "${STAGING_ROOT}/${CATEGORY_STUB}" || { echo "Failed to change directory"; ret_val=1; exit 1; } -ret_val=$? - -if [ $ret_val -eq "0" ]; then - TARGET="${PRODUCTION_ROOT}/${CATEGORY_STUB}/${REV/-*/}" - mkdir -p "${TARGET}" - rsync_delete_prod "${REV}" "${TARGET}" - echo "Syncing to prod completed. Please run the file list script." -fi -