Download .github/workflows/deploy-dev.yml from omfggame/omfgg-dev: direct link, hf CLI and curl.
- Browser
- Download file 486 Bytes
-
https://huggingface.co/spaces/omfggame/omfgg-dev/resolve/main/.github/workflows/deploy-dev.yml
- Command line
-
hf download hf://spaces/omfggame/omfgg-dev/.github/workflows/deploy-dev.yml
-
curl -L -o deploy-dev.yml https://huggingface.co/spaces/omfggame/omfgg-dev/resolve/main/.github/workflows/deploy-dev.yml
486 Bytes
| name: Deploy to Dev/Staging (HuggingFace) | |
| on: | |
| push: | |
| branches: [dev] | |
| workflow_dispatch: | |
| jobs: | |
| deploy-dev: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to HuggingFace Dev Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| run: git push --force https://omfggame:$HF_TOKEN@huggingface.co/spaces/omfggame/omfgg-dev HEAD:main | |