mirror of
https://github.com/IceWhaleTech/CasaOS.git
synced 2025-06-16 05:55:33 +00:00
Update demo.yml (#1174)
Add demo reset error handle Signed-off-by: raller1028 <57336867+raller1028@users.noreply.github.com>
This commit is contained in:
parent
6246421dae
commit
23ce3487e1
4
.github/workflows/demo.yml
vendored
4
.github/workflows/demo.yml
vendored
@ -75,5 +75,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
aws lightsail delete-instance \
|
aws lightsail delete-instance \
|
||||||
--instance-name ${{ env.OLD_INSTANCE_NAME }}
|
--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 }}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user