Spaces:
Sleeping
Sleeping
Download .github/workflows/deploy.yml from Ducdata1808/AGV_simulator: direct link, hf CLI and curl.
- Browser
- Download file 514 Bytes
-
https://huggingface.co/spaces/Ducdata1808/AGV_simulator/resolve/main/.github/workflows/deploy.yml
- Command line
-
hf download hf://spaces/Ducdata1808/AGV_simulator/.github/workflows/deploy.yml
-
curl -L -o deploy.yml https://huggingface.co/spaces/Ducdata1808/AGV_simulator/resolve/main/.github/workflows/deploy.yml
514 Bytes
| name: Sync to Hugging Face Spaces | |
| on: | |
| push: | |
| branches: [ main ] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| lfs: true | |
| - name: Push to Hugging Face Space | |
| env: | |
| HF_TOKEN: ${{ secrets.HUGGINGFACE_ACCESS_TOKEN }} | |
| run: | | |
| git config lfs.allowincompletepush true | |
| git push --force https://Ducdata1808:$HF_TOKEN@huggingface.co/spaces/Ducdata1808/AGV_simulator main | |