index on PR merge

This commit is contained in:
Jacob Heider 2023-05-05 19:39:46 -04:00
parent 63a6b8b54e
commit f6f7b1c89d
No known key found for this signature in database
GPG key ID: A98011B5713535BF

View file

@ -65,6 +65,25 @@ jobs:
AWS_S3_CACHE: ${{ secrets.AWS_S3_CACHE }}
PR: ${{ needs.bottle.outputs.pr }}
index_data:
needs: [bottle-pr]
runs-on: ubuntu-latest
if: ${{ needs.cd.outputs.has-artifacts == 'true' }}
steps:
- uses: actions/checkout@v3
- uses: teaxyz/setup@v0
with:
srcroot: null
- uses: teaxyz/brewkit/actions/cache@v0
- run: ./.github/scripts/index-packages.ts ${{ inputs.projects }}
env:
TEA_PANTRY_PATH: ${{ github.workspace }}
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
SQS_GENERATE_PACKAGE_DETAILS_URL: ${{ secrets.SQS_GENERATE_PACKAGE_DETAILS_URL }}
bottle-standalone:
runs-on: ubuntu-latest
needs: [cd]