Browse Source

Update demo.yml

John Guan 3 years ago
parent
commit
7e2a5d553c
1 changed files with 1 additions and 7 deletions
  1. 1 7
      .github/workflows/demo.yml

+ 1 - 7
.github/workflows/demo.yml

@@ -29,7 +29,7 @@ jobs:
         with:
           aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
           aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
-          aws-region: us-east-2
+          aws-region: us-west-2
           
       - name: Get old instance and snapshot name, create new instance name
         run: | 
@@ -37,12 +37,6 @@ jobs:
           echo "OLD_INSTANCE_NAME=$(aws lightsail get-instances | grep '"name": "CasaOS-Demo-[0-9]' | sed 's/ //g' | sed 's/"//g' | sed 's/,//g' | sed 's/name://g')" >> $GITHUB_ENV
           echo "NEW_INSTANCE_NAME=CasaOS-Demo-$(date +%s)" >> $GITHUB_ENV
           
-      - name: Check GitHub envs
-        run: |
-          echo "OLD_INSTANCE_SNAPSHOT_NAME=${{ env.OLD_INSTANCE_SNAPSHOT_NAME }}"
-          echo "OLD_INSTANCE_NAME=${{ env.OLD_INSTANCE_NAME }}"
-          echo "NEW_INSTANCE_NAME=${{ env.NEW_INSTANCE_NAME }}"
-      
       - name: Create instances from snapshot
         run: | 
           aws lightsail create-instances-from-snapshot \