Skip to content

Orama Package Reindex #4

Orama Package Reindex

Orama Package Reindex #4

name: Orama Package Reindex
on:
workflow_dispatch:
inputs:
environment:
description: "Environment for deployment"
type: choice
options:
- prod
- staging
required: true
jobs:
reindex_orama:
runs-on: ubuntu-22.04
environment:
name: ${{ github.event.inputs.environment }}
steps:
- uses: actions/checkout@v2
- uses: denoland/setup-deno@v2
- name: Deploy
env:
ORAMA_PACKAGE_INDEX_ID: ${{ secrets.ORAMA_PACKAGE_INDEX_ID }}
ORAMA_PACKAGE_PRIVATE_API_KEY: ${{ secrets.ORAMA_PACKAGE_PRIVATE_API_KEY }}
JSR_ENDPOINT_URL: ${{ vars.ENVIRONMENT_URL }}
run: deno task tools:orama:package_reindex