Skip to content

Commit 64aea7a

Browse files
authored
Merge pull request #8 from madhead/fix/destroyment
Fix the environment destruction script one more time
2 parents a93c92f + 7587711 commit 64aea7a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/actions/destroy/action.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,13 @@ runs:
5555
5656
- run: |
5757
source .venv/bin/activate
58-
npx cdk destroy --context environment=${{ inputs.environment }} --force
58+
npx cdk destroy \
59+
--context environment=${{ inputs.environment }} \
60+
--context DATABASE_HOST=${{ steps.branch.outputs.db_host }} \
61+
--context DATABASE_DATABASE=${{ inputs.neon_database }} \
62+
--context DATABASE_USER=${{ steps.branch.outputs.db_user }} \
63+
--context DATABASE_PASSWORD=${{ steps.branch.outputs.db_password }} \
64+
--force
5965
working-directory: deploy
6066
shell: bash
6167

0 commit comments

Comments
 (0)