Spaces:
Sleeping
Sleeping
Download .github/workflows/deploy.yml from atlez/bittle-sneaker: direct link, hf CLI and curl.
- Browser
- Download file 678 Bytes
-
https://huggingface.co/spaces/atlez/bittle-sneaker/resolve/main/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/atlez/bittle-sneaker/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/atlez/bittle-sneaker/resolve/main/.github/workflows/deploy.yml
678 Bytes
| # .github/workflows/deploy.yml | |
| name: Deploy to HF Space | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| env: | |
| FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to HF Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: | | |
| git config user.email "deploy@github.com" | |
| git config user.name "GitHub Actions" | |
| git config lfs.allowincompletepush true | |
| git remote add hf https://atlez:$HF_TOKEN@huggingface.co/spaces/atlez/bittle-sneaker | |
| git push hf main --force | |