diff --git a/.github/workflows/upload.yml b/.github/workflows/upload.yml index 8dcf8c0b..c1f6b0e1 100644 --- a/.github/workflows/upload.yml +++ b/.github/workflows/upload.yml @@ -37,12 +37,9 @@ jobs: # . .venv/bin/activate # python build_docs.py - name: Upload files - shell: bash - env: - HF_TOKEN: ${{ secrets.HF_TOKEN }} working-directory: ./backend run: | . .venv/bin/activate - huggingface-cli login --token "${HF_TOKEN}" + huggingface-cli login --token "${{ secrets.HUGGINGFACE_TOKEN }}" huggingface-cli upload ${{ env.HF_RAG_REPO }} ./data / --repo-type dataset huggingface-cli logout