1
0
mirror of https://github.com/IceWhaleTech/CasaOS.git synced 2025-07-12 23:50:14 +02:00

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

View File

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