Skip to content

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.

Update demo.yml (#1174)

raller102823ce3487e1a2
diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.yml
index 3b0d086..a440519 100644
--- a/.github/workflows/demo.yml
+++ b/.github/workflows/demo.yml
@@ -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 }}