Spaces:
Sleeping
Sleeping
Download .github/workflows/push2hf.yml from dn-scribe/ai: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/dn-scribe/ai/resolve/main/.github/workflows/push2hf.yml
- Command line
-
hf download hf://spaces/dn-scribe/ai/.github/workflows/push2hf.yml
-
curl -L -o push2hf.yml https://huggingface.co/spaces/dn-scribe/ai/resolve/main/.github/workflows/push2hf.yml
444 Bytes
| name: Sync to Hugging Face Space | |
| on: | |
| # push: | |
| # branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HUGGINGFACE_API_KEY }} | |
| run: | | |
| git push https://dn-scrib:$HF_TOKEN@huggingface.co/spaces/dn-scribe/ai main --force | |