2023-02-01 09:13:09 +03:00
|
|
|
name: index-data
|
|
|
|
|
|
|
|
on:
|
|
|
|
workflow_call:
|
|
|
|
inputs:
|
|
|
|
projects:
|
|
|
|
required: true
|
|
|
|
type: string
|
|
|
|
|
|
|
|
jobs:
|
2023-02-02 17:00:52 +03:00
|
|
|
queue-detail-ingestion:
|
2023-02-01 09:13:09 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-02-11 15:29:19 +03:00
|
|
|
- uses: actions/cache@v3
|
2023-02-05 02:49:21 +03:00
|
|
|
with:
|
2023-02-15 02:55:30 +03:00
|
|
|
path: |
|
|
|
|
~/.deno
|
|
|
|
~/.cache/deno
|
2023-02-05 03:10:30 +03:00
|
|
|
key: ${{ runner.os }}-deno-queue-detail-ingestion-${{ hashFiles('deno.jsonc')}}
|
2023-02-01 09:13:09 +03:00
|
|
|
- uses: teaxyz/setup@v0
|
2023-02-03 00:51:19 +03:00
|
|
|
- run: ./scripts/index-packages.ts ${{ inputs.projects }}
|
2023-02-01 09:13:09 +03:00
|
|
|
env:
|
2023-02-03 00:51:19 +03:00
|
|
|
TEA_PANTRY_PATH: ${{ github.workspace }}
|
2023-02-01 09:13:09 +03:00
|
|
|
AWS_REGION: us-east-1
|
2023-02-13 03:52:30 +03:00
|
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
2023-02-01 09:13:09 +03:00
|
|
|
SQS_GENERATE_PACKAGE_DETAILS_URL: ${{ secrets.SQS_GENERATE_PACKAGE_DETAILS_URL }}
|