Skip to content

Commit 3077155

Browse files
committed
Improve setup of a review app database
1 parent c5be13f commit 3077155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy-preview.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ jobs:
5656
# see https://blog.benoitblanchon.fr/github-action-run-ssh-commands/
5757
run: |
5858
ssh -t preview "postgres:clone certificates-db ${REVIEW_APP_NAME}-db"
59+
ssh -t preview "postgres:unlink certificates-db ${REVIEW_APP_NAME}"
5960
ssh -t preview "postgres:link ${REVIEW_APP_NAME}-db $REVIEW_APP_NAME"
60-
ssh -t preview "postgres:promote ${REVIEW_APP_NAME}-db $REVIEW_APP_NAME"
6161
env:
6262
REVIEW_APP_NAME: pre-${{ github.event.pull_request.number }}
6363

0 commit comments

Comments
 (0)