remove unused steps

This commit is contained in:
neil molina 2023-06-26 14:33:07 +08:00
parent 3e70e8c22c
commit 31199c4f9d
No known key found for this signature in database
GPG key ID: 52D69BF1F02F4267

View file

@ -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()