Update demo.yml

Signed-off-by: raller1028 <57336867+raller1028@users.noreply.github.com>
This commit is contained in:
raller1028 2023-06-07 16:08:24 +08:00 committed by GitHub
parent 6246421dae
commit 33d544b1bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 }}