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