From e6e08d5bb5248074d99e03d0e27f3c0714cd9129 Mon Sep 17 00:00:00 2001 From: neil Date: Sat, 19 Nov 2022 14:50:30 +0800 Subject: [PATCH] test using REF slug --- .github/workflows/staging.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 42563dc..85e557d 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -91,15 +91,9 @@ jobs: # run: yarn deploy # working-directory: .cdk - - uses: 8BitJonny/gh-get-current-pr@2.1.3 - id: PR - - name: get cdk bucket - if: steps.PR.outcome == 'success' - env: - prNumber: ${{ steps.PR.outputs.number }} run: | - aws s3 ls | grep "teaxyz-pr-${prNumber}" + aws s3 ls | grep $(echo teaxyz-pr-$GITHUB_REF_SLUG_URL | sed "s/-merge//") # sync images from www.tea.xyz/Images/packages to wherever bucket you are