mirror of
https://github.com/ivabus/www
synced 2024-11-24 09:35:05 +03:00
remove unused steps
This commit is contained in:
parent
3e70e8c22c
commit
31199c4f9d
1 changed files with 0 additions and 14 deletions
14
.github/workflows/staging.yml
vendored
14
.github/workflows/staging.yml
vendored
|
@ -56,12 +56,6 @@ jobs:
|
||||||
# env:
|
# env:
|
||||||
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|
||||||
# update packages json data and rebuild again
|
|
||||||
- name: make images relative path to preview site
|
|
||||||
uses: getneil/jq-action@v1
|
|
||||||
with:
|
|
||||||
cmd: '.github/sync-thumb-images.sh src/data/packages.json'
|
|
||||||
|
|
||||||
# intentional to rebuild packages again with relative image data
|
# intentional to rebuild packages again with relative image data
|
||||||
# the first one to test it against prod resources via lychee
|
# the first one to test it against prod resources via lychee
|
||||||
- run: tea -E just ci
|
- run: tea -E just ci
|
||||||
|
@ -90,14 +84,6 @@ jobs:
|
||||||
BUCKET=$(aws s3 ls | grep $(echo teaxyz-pr-$GITHUB_REF_SLUG_URL | sed "s/-merge//") | grep -o '[^ ]*$')
|
BUCKET=$(aws s3 ls | grep $(echo teaxyz-pr-$GITHUB_REF_SLUG_URL | sed "s/-merge//") | grep -o '[^ ]*$')
|
||||||
echo "bucket=$BUCKET" >> $GITHUB_OUTPUT
|
echo "bucket=$BUCKET" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: cp package images from prod to preview bucket
|
|
||||||
run: |
|
|
||||||
aws s3 cp s3://www.tea.xyz/Images/packages \
|
|
||||||
s3://$NEW_BUCKET/Images/packages \
|
|
||||||
--recursive
|
|
||||||
env:
|
|
||||||
NEW_BUCKET: ${{ steps.DEPLOY_BUCKET.outputs.bucket }}
|
|
||||||
|
|
||||||
- name: Seal Deployment
|
- name: Seal Deployment
|
||||||
uses: bobheadxi/deployments@v1
|
uses: bobheadxi/deployments@v1
|
||||||
if: always()
|
if: always()
|
||||||
|
|
Loading…
Reference in a new issue