satdetect / scripts /push_hf_production.ps1
coderuday21's picture
Align production with no-login app and refresh deploy docs
c506ed2
Raw
History Blame Contribute Delete
571 Bytes
# Push master (no login) to the live Hugging Face Space (satdetect).
$ErrorActionPreference = "Stop"
Set-Location (Split-Path $PSScriptRoot -Parent)
if (-not (git remote get-url hf 2>$null)) {
Write-Error "Remote 'hf' not found. Add it with:`n git remote add hf https://huggingface.co/spaces/coderuday21/satdetect"
}
# Keep production branch aligned with master
git branch -f production master
Write-Host "Pushing master -> hf/main (satdetect, no login)..."
git push hf master:main
Write-Host "Done. Live app: https://huggingface.co/spaces/coderuday21/satdetect"