Skip to content

Commit

Permalink
Merge pull request #8 from madhead/fix/destroyment
Browse files Browse the repository at this point in the history
Fix the environment destruction script one more time
  • Loading branch information
madhead authored May 1, 2023
2 parents a93c92f + 7587711 commit 64aea7a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/actions/destroy/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ runs:
- run: |
source .venv/bin/activate
npx cdk destroy --context environment=${{ inputs.environment }} --force
npx cdk destroy \
--context environment=${{ inputs.environment }} \
--context DATABASE_HOST=${{ steps.branch.outputs.db_host }} \
--context DATABASE_DATABASE=${{ inputs.neon_database }} \
--context DATABASE_USER=${{ steps.branch.outputs.db_user }} \
--context DATABASE_PASSWORD=${{ steps.branch.outputs.db_password }} \
--force
working-directory: deploy
shell: bash
Expand Down

0 comments on commit 64aea7a

Please sign in to comment.