Spaces:
Sleeping
Sleeping
Download .github/workflows/deploy.yml from mghfuran/ZKnowledgeAgent: direct link, hf CLI and curl.
- Browser
- Download file 540 Bytes
-
https://huggingface.co/spaces/mghfuran/ZKnowledgeAgent/resolve/main/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/mghfuran/ZKnowledgeAgent/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/mghfuran/ZKnowledgeAgent/resolve/main/.github/workflows/deploy.yml
540 Bytes
| name: Sync to Hugging Face Hub | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| sync-to-hub: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Install Git LFS | |
| run: git lfs install | |
| - name: Push to Hugging Face | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| git push --force https://mghfuran:$HF_TOKEN@huggingface.co/spaces/mghfuran/ZKnowledgeAgent main |