CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
Update demo.yml (#1212)
link4f5b4b0887c8
diff --git a/.github/workflows/demo.yml b/.github/workflows/demo.ymlindex fd29950..6477455 100644--- a/.github/workflows/demo.yml+++ b/.github/workflows/demo.yml@@ -33,7 +33,7 @@ jobs:- name: Get old instance and snapshot name, create new instance namerun: |- echo "OLD_INSTANCE_SNAPSHOT_NAME=$(aws lightsail get-instance-snapshots | grep '"name": "updateto_to_0.4.4-1684926517' | sed 's/ //g' | sed 's/"//g' | sed 's/,//g' | sed 's/name://g')" >> $GITHUB_ENV+ echo "OLD_INSTANCE_SNAPSHOT_NAME=updateto_to_0.4.4-1684926517" >> $GITHUB_ENV# echo "OLD_INSTANCE_NAME=$(aws lightsail get-instances | grep '"name": "CasaOS-Demo-[0-9]' | tail -1 | sed 's/ //g' | sed 's/"//g' | sed 's/,//g' | sed 's/name://g')" >> $GITHUB_ENVecho "OLD_INSTANCE_NAME=CasaOS-Demo-1687680295" >> $GITHUB_ENVecho "NEW_INSTANCE_NAME= CasaOS-Demo-$(date +%s)" >> $GITHUB_ENV