Update demo.yml
This commit is contained in:
parent
0fac461783
commit
c67191d8c2
1 changed files with 1 additions and 0 deletions
1
.github/workflows/demo.yml
vendored
1
.github/workflows/demo.yml
vendored
|
@ -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 }} \
|
||||||
|
|
Loading…
Reference in a new issue