Spaces:
Runtime error
Runtime error
Download .github/workflows/hf-push.yml from neurostack-in/pms_server: direct link, hf CLI and curl.
- Browser
- Download file 724 Bytes
-
https://huggingface.co/spaces/neurostack-in/pms_server/resolve/main/.github/workflows/hf-push.yml
- Command line
-
hf download hf://spaces/neurostack-in/pms_server/.github/workflows/hf-push.yml
-
curl -L -o hf-push.yml https://huggingface.co/spaces/neurostack-in/pms_server/resolve/main/.github/workflows/hf-push.yml
724 Bytes
| name: Sync to Hugging Face Space | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| sync: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Configure git user | |
| run: | | |
| git config user.name "${GITHUB_ACTOR}" | |
| git config user.email "${GITHUB_ACTOR}@users.noreply.github.com" | |
| - name: Push to Space (main) | |
| env: | |
| HF_TOKEN: ${{ secrets.HF_TOKEN }} | |
| HF_USERNAME: neurostack-in | |
| SPACE_NAME: pms_server | |
| run: | | |
| git push --force \ | |
| https://$HF_USERNAME:$HF_TOKEN@huggingface.co/spaces/$HF_USERNAME/$SPACE_NAME \ | |
| HEAD:main |