mirror of
https://github.com/ivabus/pantry
synced 2024-09-21 01:00:50 +03:00
abb0921f3d
* don’t need cli checkouts anymore * tidy Co-authored-by: Jacob Heider <jacob@tea.xyz>
35 lines
884 B
YAML
35 lines
884 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
|
|
with:
|
|
path: tea.xyz/var/cli
|
|
repository: teaxyz/cli
|
|
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
path: pantry
|
|
|
|
- uses: teaxyz/setup@v0
|
|
with:
|
|
srcroot: tea.xyz/var/pantry
|
|
prefix: ${{ github.workspace }}
|
|
|
|
- run: ./pantry/scripts/index-packages.ts ${{ inputs.projects }}
|
|
env:
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
AWS_REGION: us-east-1
|
|
SQS_GENERATE_PACKAGE_DETAILS_URL: ${{ secrets.SQS_GENERATE_PACKAGE_DETAILS_URL }}
|
|
TEA_PANTRY_PATH: ${{ github.workspace }}
|