This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# deploy-copilot-api.sh - 部署copilot-api服务 | |
set -e # 遇到错误立即退出 | |
echo "开始部署copilot-api服务..." | |
# 获取当前用户名 | |
CURRENT_USER=$(whoami) |