Skip to content

Commit 9f64eb5

Browse files
authored
Update cloudFormation.yml
1 parent f6c88a6 commit 9f64eb5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/cloudFormation.yml

+8
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ jobs:
7777
--stack-name ${{ github.event.inputs.project_name }}-backend \
7878
--parameter-overrides ProjectName=${{ github.event.inputs.project_name }} SecretKey=${{ github.event.inputs.secret_key }} DBUser=${{ github.event.inputs.db_user }} DBPassword=${{ github.event.inputs.db_password }} EmailHost=${{ github.event.inputs.email_host }} EmailPort=${{ github.event.inputs.email_port }} EmailUser=${{ github.event.inputs.email_user }} EmailPassword=${{ github.event.inputs.email_password }} FrontendUrl=${{ github.event.inputs.frontend_url }}
7979
--capabilities CAPABILITY_IAM
80+
continue-on-error: true
81+
82+
- name: Fetch Stack Events on Failure
83+
if: failure() && steps.deploy_stack.outcome == 'failure'
84+
run: |
85+
aws cloudformation describe-stack-events --stack-name ${{ github.event.inputs.project_name }}-backend
86+
exit 1
87+
8088
8189
- name: Setup up Requirements
8290
run: |

0 commit comments

Comments
 (0)