mirror of
https://github.com/ivabus/www
synced 2024-11-22 14:55:07 +03:00
test using REF slug
This commit is contained in:
parent
138f4bba2c
commit
e6e08d5bb5
1 changed files with 1 additions and 7 deletions
8
.github/workflows/staging.yml
vendored
8
.github/workflows/staging.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue