Claude Sonnet 5
Add GitHub Actions workflow to deploy main branch to prod HF Space (#16)
67079ea unverified Download .github/workflows/deploy-main.yml from mcqjcbx/HighQualityVideoGeneration: direct link, hf CLI and curl.
- Browser
- Download file 550 Bytes
-
https://huggingface.co/spaces/mcqjcbx/HighQualityVideoGeneration/resolve/main/.github/workflows/deploy-main.yml
- Command line
-
hf download hf://spaces/mcqjcbx/HighQualityVideoGeneration/.github/workflows/deploy-main.yml
-
curl -L -o deploy-main.yml https://huggingface.co/spaces/mcqjcbx/HighQualityVideoGeneration/resolve/main/.github/workflows/deploy-main.yml
550 Bytes
| name: Deploy to Hugging Face Space (main) | |
| on: | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: {} | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: main | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to Hugging Face Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN_PROD }} | |
| run: | | |
| git push --force "https://user:${HF_TOKEN}@huggingface.co/spaces/someone-in-the-world/HighQualityVideoGeneration" main:main | |