Update demo.yml

This commit is contained in:
John Guan 2021-12-01 20:45:36 +08:00 committed by GitHub
parent 0fac461783
commit c67191d8c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@ jobs:
- name: create-instances-from-snapshot
run: |
echo "NEW_INSTANCE_NAME=CasaOS-Demo-$(date +%s)" >> $GITHUB_ENV
echo ${{ env.OLD_INSTANCE_SNAPSHOT_NAME }}
aws lightsail create-instances-from-snapshot \
--instance-snapshot-name ${{ env.OLD_INSTANCE_SNAPSHOT_NAME }} \
--instance-names ${{ env.NEW_INSTANCE_NAME }} \