mirror of
https://github.com/ivabus/gui
synced 2025-06-07 15:50:27 +03:00
test prefix
This commit is contained in:
parent
a7ace2e977
commit
99cd8c0e9b
1 changed files with 9 additions and 2 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -97,12 +97,19 @@ jobs:
|
|||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
aws-region: us-east-1
|
||||
- run: echo "test $GITHUB_REF_URL"
|
||||
- name: get s3 folder
|
||||
id: prefix
|
||||
run: |
|
||||
prefix=$(echo $GITHUB_REF_NAME | sed -e 's/\//-/g')
|
||||
echo "prefix=$prefix" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: ubuntu cp package images from prod to preview bucket
|
||||
if: matrix.platform == 'ubuntu-latest'
|
||||
env:
|
||||
prefix: ${{ steps.prefix.outputs.prefix }}
|
||||
run: |
|
||||
aws s3 cp ./README.md \
|
||||
"s3://preview.gui.tea.xyz/$GITHUB_REF_NAME/README.md"
|
||||
"s3://preview.gui.tea.xyz/$prefix/README.md"
|
||||
|
||||
# - name: mac-os cp package images from prod to preview bucket
|
||||
# if: matrix.platform == 'macos-latest'
|
||||
|
|
Loading…
Reference in a new issue