From 875e931dd1db6a3982fb4abb2ed9a48e6ff1dd49 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 19 Nov 2022 15:07:29 +0800 Subject: [PATCH] bring back cdk deploy --- .github/workflows/staging.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 5e3540b..371c807 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -86,10 +86,10 @@ jobs: aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: us-east-1 - # - name: Deploy to AWS - # id: cdk_deploy - # run: yarn deploy - # working-directory: .cdk + - name: Deploy to AWS + id: cdk_deploy + run: yarn deploy + working-directory: .cdk - name: get cdk bucket id: DEPLOY_BUCKET @@ -104,11 +104,6 @@ jobs: env: NEW_BUCKET: ${{ steps.DEPLOY_BUCKET.outputs.bucket }} - # sync images from www.tea.xyz/Images/packages to wherever bucket you are - # - run: | - # aws s3 sync s3://www.tea.xyz/Images/packages \ - # s3://TeaXYZ-${STAGE}/Images/packages - - name: Seal Deployment uses: bobheadxi/deployments@v1 if: always()