Spaces:
Runtime error
Runtime error
Download .github/workflows/deploy.yml from crtal/aveslens-model-api: direct link, hf CLI and curl.
- Browser
- Download file 474 Bytes
-
https://huggingface.co/spaces/crtal/aveslens-model-api/resolve/main/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/crtal/aveslens-model-api/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/crtal/aveslens-model-api/resolve/main/.github/workflows/deploy.yml
474 Bytes
| name: Deploy to HF Space | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to HuggingFace Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| git remote add space https://crtal:${{ secrets.HF_TOKEN }}@huggingface.co/spaces/crtal/aveslens-model-api | |
| git push space main --force | |