Skip to content

Merge pull request #217 from amadeus4dev/1218 #58

Merge pull request #217 from amadeus4dev/1218

Merge pull request #217 from amadeus4dev/1218 #58

Workflow file for this run

name: updatedb
on:
push:
branches: [ master ]
env:
ENDPOINT_URL: ${{ secrets.ENDPOINT_URL }}
BEARER_TOKEN: ${{ secrets.BEARER_TOKEN }}
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.10" ]
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install requirements
run: pip install -r .github/requirements.txt
- name: Update Pinecone database
run: python .github/update_db.py