update dockerfile #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Embed Tests | |
on: | |
push: | |
# pull_request: | |
# types: | |
# - closed | |
jobs: | |
embed-test: | |
runs-on: ubuntu-latest | |
# if: github.event.pull_request.merged == true | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Containerized Build | |
uses: ./.github/actions | |
- name: Download Source Files from HF | |
run: | | |
pip install huggingface-cli | |
huggingface-cli login --token ${{ secrets.HF_TOKEN }} | |
huggingface-cli download --repo-type space TotalSundae/dungeons-and-dragons --include *.xml | |
- name: Create Embeddings | |
run: python main.py | |
- name: Upload Build Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: Chroma VectorDB Embeddings | |
path: data/ |