From 91e2d141d3222c4af21b0d2e929d7e91b907c216 Mon Sep 17 00:00:00 2001 From: Matt-Spence Date: Fri, 8 Nov 2024 11:35:37 -0600 Subject: [PATCH] Update clone-staging.yaml --- .github/workflows/clone-staging.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/clone-staging.yaml b/.github/workflows/clone-staging.yaml index 3c1971e93..d2609a264 100644 --- a/.github/workflows/clone-staging.yaml +++ b/.github/workflows/clone-staging.yaml @@ -41,7 +41,7 @@ jobs: # clone from source to destination cf target -s $SOURCE_ENVIRONMENT - cg-manage-rds clone --roptions "--clean" getgov-$SOURCE_ENVIRONMENT-database getgov-$DESTINATION_ENVIRONMENT-database + cg-manage-rds clone --roptions "--clean --if-exists" getgov-$SOURCE_ENVIRONMENT-database getgov-$DESTINATION_ENVIRONMENT-database - name: Cleanup if: always() run: cf unshare-service getgov-$DESTINATION_ENVIRONMENT-database -s $SOURCE_ENVIRONMENT -f