fix: URL-encode pdf_proof links in real-money dataset #56
This file contains hidden or 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: Sync to Hugging Face | |
| on: | |
| push: | |
| branches: ["main"] | |
| workflow_dispatch: {} | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install huggingface hub | |
| run: pip install --upgrade huggingface_hub | |
| - name: Upload to Hugging Face | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| HF_REPO_ID: ${{ secrets.HF_REPO_ID }} | |
| HF_REPO_TYPE: ${{ secrets.HF_REPO_TYPE }} | |
| run: python .github/scripts/push_to_hf.py |