Skip to content

Commit

Permalink
Merge pull request #14 from Sanim16/feat-destroy-infra1
Browse files Browse the repository at this point in the history
take down the infra
  • Loading branch information
Sanim16 authored Nov 13, 2024
2 parents df22011 + 9d2f937 commit e6f4b3c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}."

0 comments on commit e6f4b3c

Please sign in to comment.