Download deploy_hf.bat from Lashtw/idle: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/spaces/Lashtw/idle/resolve/main/deploy_hf.bat
- Command line
-
hf download hf://spaces/Lashtw/idle/deploy_hf.bat
-
curl -L -o deploy_hf.bat https://huggingface.co/spaces/Lashtw/idle/resolve/main/deploy_hf.bat
454 Bytes
| @echo off | |
| chcp 65001 >nul | |
| echo 🚀 正在自動同步專案至 Hugging Face Spaces (Lashtw/idle)... | |
| git add . | |
| set /p commit_msg="請輸入更新說明(直接按 Enter 使用預設說明): " | |
| if "%commit_msg%"=="" set commit_msg=feat: 遊戲版本更新 | |
| git commit -m "%commit_msg%" | |
| echo 📦 正在推送到 Hugging Face... | |
| git push hf main | |
| echo. | |
| echo ✅ 部署完成!請開啟 Space 查看: | |
| echo https://huggingface.co/spaces/Lashtw/idle | |
| pause | |