From 9d2f937e8e179bf84c9d039d3c736f66d58bc9c7 Mon Sep 17 00:00:00 2001 From: Momoh Sani Musa Date: Wed, 13 Nov 2024 20:49:15 +0100 Subject: [PATCH] take down the infra --- .github/workflows/deploy.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2a145d0..62e5f67 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -111,22 +111,22 @@ jobs: with: python-version: '3.12.7' - # uncomment this block to deploy the infra - - name: venv - id: venv - run: |- - python3 -m venv .venv - source .venv/bin/activate - python -m pip install -r requirements.txt - cdk deploy --require-approval never - - # # uncomment this block to tear down infra - # - name: destroy-venv - # id: destroy-venv + # # uncomment this block to deploy the infra + # - name: venv + # id: venv # run: |- # python3 -m venv .venv # source .venv/bin/activate # python -m pip install -r requirements.txt - # cdk destroy --force + # cdk deploy --require-approval never + + # uncomment this block to tear down infra + - name: destroy-venv + id: destroy-venv + run: |- + python3 -m venv .venv + source .venv/bin/activate + python -m pip install -r requirements.txt + cdk destroy --force - run: echo "🍏 This job's status is ${{ job.status }}."