hfbase / push.sh
OpenCode Deployer
feat: 初始化 HuggingFace Space Docker + FastAPI 项目
ec2e14a
raw
history blame contribute delete
368 Bytes
#!/bin/bash
OS_TYPE=$(uname -s)
case "$OS_TYPE" in
Darwin*)
echo "当前系统是 macOS。"
ssh-add ~/.ssh/id_ed25519_airsltd_mac
;;
Linux*)
echo "当前系统是 Linux。"
;;
CYGWIN*|MINGW*|MSYS*)
echo "当前系统是 Windows。"
;;
*)
echo "未知的系统: $OS_TYPE"
;;
esac
git add .
git commit -m "update"
git push