Spaces:
Running on Zero
Running on Zero
Download .github/workflows/deploy-hf.yml from thiagohersan/model-forensics: direct link, hf CLI and curl.
- Browser
- Download file 701 Bytes
-
https://huggingface.co/spaces/thiagohersan/model-forensics/resolve/main/.github/workflows/deploy-hf.yml
- Command line
-
hf download hf://spaces/thiagohersan/model-forensics/.github/workflows/deploy-hf.yml
-
curl -L -o deploy-hf.yml https://huggingface.co/spaces/thiagohersan/model-forensics/resolve/main/.github/workflows/deploy-hf.yml
701 Bytes
| name: Deploy to Hugging Face spaces | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Dev Repo | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to HF | |
| env: | |
| HFTOKEN_DV: ${{ secrets.HFTOKEN_DV }} | |
| HFTOKEN_TH: ${{ secrets.HFTOKEN_TH }} | |
| run: | | |
| git remote add hfdv https://thiagohersan:$HFTOKEN_DV@huggingface.co/spaces/visualizedata/PUIL-3300-gradio | |
| git remote add hfth https://thiagohersan:$HFTOKEN_TH@huggingface.co/spaces/thiagohersan/model-forensics | |
| git push -f hfdv main | |
| git push -f hfth main | |