Browse Source

Change status check to failure

Anuj Bansal 3 years ago
parent
commit
a71594788c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/deploy-playground.yml

+ 1 - 1
.github/workflows/deploy-playground.yml

@@ -93,7 +93,7 @@ jobs:
 
       - name: Delete CloudFormation Stack if any step failed
         # Skip if stack already existed
-        if: failure() && steps.stack_exists.outcome != 'failed'
+        if: failure() && steps.stack_exists.outcome != 'failure'
         run: |
           echo "Deleting ${{ env.STACK_NAME }} stack"
           aws cloudformation delete-stack --stack-name ${{ env.STACK_NAME }}