mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-23 19:20:47 +02:00
Update clone-staging.yaml
This commit is contained in:
parent
73454443a5
commit
bfb545a895
1 changed files with 1 additions and 1 deletions
2
.github/workflows/clone-staging.yaml
vendored
2
.github/workflows/clone-staging.yaml
vendored
|
@ -41,7 +41,7 @@ jobs:
|
||||||
|
|
||||||
# clone from source to destination
|
# clone from source to destination
|
||||||
cf target -s $SOURCE_ENVIRONMENT
|
cf target -s $SOURCE_ENVIRONMENT
|
||||||
cg-manage-rds clone getgov-$SOURCE_ENVIRONMENT-database getgov-$DESTINATION_ENVIRONMENT-database
|
cg-manage-rds clone --roptions "--clean" getgov-$SOURCE_ENVIRONMENT-database getgov-$DESTINATION_ENVIRONMENT-database
|
||||||
- name: Cleanup
|
- name: Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
run: cf unshare-service getgov-$DESTINATION_ENVIRONMENT-database -s $SOURCE_ENVIRONMENT -f
|
run: cf unshare-service getgov-$DESTINATION_ENVIRONMENT-database -s $SOURCE_ENVIRONMENT -f
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue