Skip to content

Commit

Permalink
Update demo.yml (#1174)
Browse files Browse the repository at this point in the history
Add demo reset error handle

Signed-off-by: raller1028 <[email protected]>
  • Loading branch information
raller1028 authored Jun 7, 2023
1 parent 6246421 commit 23ce348
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,9 @@ jobs:
run: |
aws lightsail delete-instance \
--instance-name ${{ env.OLD_INSTANCE_NAME }}
- name: Demo Reset Error Handling
if: ${{ failure() }}
run: |
curl -X POST -H "Content-Type: application/json" -d '{"msg_type":"text","content":{"text":"Demo Reset Error"}}' ${{ secrets.SSH_ROBOT_URL }}

0 comments on commit 23ce348

Please sign in to comment.