Skip to content

Commit 61f0139

Browse files
committed
Update delete stack command
1 parent 078d5a5 commit 61f0139

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/pr-closed.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,12 @@ jobs:
2727
aws-region: us-east-2
2828

2929
- name: Delete Stacks
30+
env:
31+
PR_NUMBER: ${{ github.event.pull_request.number }}
32+
AWS_REGION: us-east-2
3033
run: |
34+
echo "Deleting stack: lambda-dispatch-app-stack-pr-${PR_NUMBER}"
3135
# Delete all stacks for this PR
32-
PR_NUMBER=${{ github.event.pull_request.number }}
3336
aws cloudformation delete-stack --stack-name "lambda-dispatch-app-stack-pr-${PR_NUMBER}"
3437
# Wait for deletion to complete
3538
aws cloudformation wait stack-delete-complete --stack-name "lambda-dispatch-app-stack-pr-${PR_NUMBER}"

0 commit comments

Comments
 (0)