Skip to content

@ubiquity-os/comment-vector-embeddings #514

@ubiquity-os/comment-vector-embeddings

@ubiquity-os/comment-vector-embeddings #514

Workflow file for this run

name: "@ubiquity-os/comment-vector-embeddings"
on:
workflow_dispatch:
inputs:
stateId:
description: "State Id"
eventName:
description: "Event Name"
eventPayload:
description: "Event Payload"
settings:
description: "Settings"
authToken:
description: "Auth Token"
ref:
description: "Ref"
jobs:
compute:
name: "Comment Embedding Store"
runs-on: ubuntu-latest
permissions: write-all
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
VOYAGEAI_API_KEY: ${{secrets.VOYAGEAI_API_KEY}}
steps:
- uses: actions/checkout@v4
- name: setup node
uses: actions/setup-node@v4
with:
node-version: "20.10.0"
- name: install dependencies
run: yarn
- name: execute directive
run: npx tsx ./src/main.ts
id: issue-comment-embeddings
env:
SUPABASE_URL: ${{ secrets.SUPABASE_URL }}
SUPABASE_KEY: ${{ secrets.SUPABASE_KEY }}
VOYAGEAI_API_KEY: ${{secrets.VOYAGEAI_API_KEY}}