Skip to content

Commit

Permalink
ENV variable clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
docwho2 committed Nov 23, 2023
1 parent eee6f16 commit c4668d5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,17 @@ jobs:
continue-on-error: true
run: aws cloudformation describe-stacks --stack-name ${STACK_NAME} > /dev/null

- name: Delete any Custom resource Logs if stack doesn't exist
- name: Delete PromptCreator Custom resource Logs if stack doesn't exist
if: steps.stack-exists.outcome == 'failure'
continue-on-error: true
run: |
aws logs delete-log-group --log-group-name "/aws/lambda/${STACK_NAME}-PromptCopier"
aws logs delete-log-group --log-group-name "/aws/lambda/${STACK_NAME}-PromptCreator"
- name: Delete PromptCopier Custom resource Logs if stack doesn't exist
if: steps.stack-exists.outcome == 'failure'
continue-on-error: true
run: |
aws logs delete-log-group --log-group-name "/aws/lambda/${STACK_NAME}-PromptCopier"
- name: SAM Deploy
run: >
Expand Down

0 comments on commit c4668d5

Please sign in to comment.