pantry/.github/workflows/index-data.yml
Jacob Heider 72b9fa85bd
simplify index-packages (#153)
* simplify index-packages

* Fix import map location

* sqs modules needs permission :x

---------

Co-authored-by: Max Howell <mxcl@me.com>
2023-02-02 16:51:19 -05:00

20 lines
498 B
YAML

name: index-data
on:
workflow_call:
inputs:
projects:
required: true
type: string
jobs:
queue-detail-ingestion:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: teaxyz/setup@v0
- run: ./scripts/index-packages.ts ${{ inputs.projects }}
env:
TEA_PANTRY_PATH: ${{ github.workspace }}
AWS_REGION: us-east-1
SQS_GENERATE_PACKAGE_DETAILS_URL: ${{ secrets.SQS_GENERATE_PACKAGE_DETAILS_URL }}