diff --git a/.github/workflows/trigger-embed.yml b/.github/workflows/trigger-embed.yml index 0b4c23e7a17c..ce95a9f481a3 100644 --- a/.github/workflows/trigger-embed.yml +++ b/.github/workflows/trigger-embed.yml @@ -10,13 +10,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Trigger Embed Service - env: # The API keys are the same as those used by the AI Assistant. There is only one (production) database. - PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }} - OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} run: | curl -X POST https://apollo.staging.openfn.org/services/embed_docsite \ -H "Content-Type: application/json" \ -d '{ - "pinecone_api_key": "${{ secrets.PINECONE_API_KEY }}", - "openai_api_key": "${{ secrets.OPENAI_API_KEY }}" - }' \ No newline at end of file + "api_key": "${{ secrets.APOLLO_PROD_API_KEY }}" + }'