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