log bucket

This commit is contained in:
neil 2022-11-19 14:33:15 +08:00
parent cbb71d81aa
commit fbbff52968

View file

@ -86,17 +86,17 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1 aws-region: us-east-1
- name: Deploy to AWS # - name: Deploy to AWS
id: cdk_deploy # id: cdk_deploy
run: yarn deploy # run: yarn deploy
working-directory: .cdk # working-directory: .cdk
- uses: 8BitJonny/gh-get-current-pr@2.1.3 - uses: 8BitJonny/gh-get-current-pr@2.1.3
id: PR id: PR
- name: get cdk bucket - name: get cdk bucket
run: | run: |
aws s3 ls | "grep teaxyz-pr-${{ steps.PR.outputs.number }}" aws s3 ls | grep "teaxyz-pr-${{ steps.PR.outputs.number }}"
# sync images from www.tea.xyz/Images/packages to wherever bucket you are # sync images from www.tea.xyz/Images/packages to wherever bucket you are