mirror of
https://github.com/ivabus/www
synced 2024-11-22 15:35:05 +03:00
change from sync to cp
This commit is contained in:
parent
875e931dd1
commit
c61111822c
1 changed files with 4 additions and 3 deletions
7
.github/workflows/staging.yml
vendored
7
.github/workflows/staging.yml
vendored
|
@ -97,10 +97,11 @@ jobs:
|
|||
BUCKET=$(aws s3 ls | grep $(echo teaxyz-pr-$GITHUB_REF_SLUG_URL | sed "s/-merge//") | grep -o '[^ ]*$')
|
||||
echo "bucket=$BUCKET" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: sync package images from prod to preview bucket
|
||||
- name: cp package images from prod to preview bucket
|
||||
run: |
|
||||
aws s3 sync s3://www.tea.xyz/Images/packages \
|
||||
s3://$NEW_BUCKET/Images/packages
|
||||
aws s3 cp s3://www.tea.xyz/Images/packages \
|
||||
s3://$NEW_BUCKET/Images/packages \
|
||||
--recursive
|
||||
env:
|
||||
NEW_BUCKET: ${{ steps.DEPLOY_BUCKET.outputs.bucket }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue