Spaces:
Runtime error
Runtime error
Download .github/workflows/deploy.yml from asingh38/new-space: direct link, hf CLI and curl.
- Browser
- Download file 492 Bytes
-
https://huggingface.co/spaces/asingh38/new-space/resolve/refs%2Fpr%2F1/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/asingh38/new-space@refs/pr/1/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/asingh38/new-space/resolve/refs%2Fpr%2F1/.github/workflows/deploy.yml
492 Bytes
| name: Deploy to Hugging Face Space | |
| on: | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to Hugging Face Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| git remote add hf https://user:$HF_TOKEN@huggingface.co/spaces/asingh38/new-space | |
| git push hf main --force |