diff --git a/.github/workflows/update-db.yml b/.github/workflows/update-db.yml deleted file mode 100644 index 014b3339..00000000 --- a/.github/workflows/update-db.yml +++ /dev/null @@ -1,23 +0,0 @@ -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