Skip to content

Commit 3fae619

Browse files
author
Adetokunbo Ige
committed
chore: add destroy infra script
Signed-off-by: Adetokunbo Ige <[email protected]>
1 parent a6f7ab5 commit 3fae619

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/pulumi-deploy.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,13 @@ jobs:
5252
run: |
5353
pulumi up --stack ExitoLab/todo-app/dev --yes
5454
env:
55-
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
55+
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
56+
57+
58+
# Comment this block, if you don't want to destroy the infra
59+
- name: Pulumi Destroy
60+
working-directory: todo-app
61+
run: |
62+
pulumi destroy --stack ExitoLab/todo-app/dev --yes
63+
env:
64+
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}

0 commit comments

Comments
 (0)