memowake-front/scripts/prod_deploy.sh
Junhui Chen 9d71152d33
All checks were successful
Dev Deploy / Explore-Gitea-Actions (push) Successful in 24s
Prod Deploy / Explore-Gitea-Actions (push) Successful in 24s
feat: prod deploy (#6)
Reviewed-on: #6
Co-authored-by: Junhui Chen <chenjunhui@fairclip.cn>
Co-committed-by: Junhui Chen <chenjunhui@fairclip.cn>
2025-07-14 14:00:31 +08:00

12 lines
394 B
Bash

#!/bin/bash
set -x
TAG=${1:-latest}
CONTROLPANEL_HOST="101.132.185.243"
CONTROLPANEL_USER="ecs-user"
CONTROLPANEL_SSH_KEY="~/.ssh/id_ed25519"
# SSH到CONTROLPANEL_HOST执行以下命令
# helm install memowake-front . -n memowake
ssh ${CONTROLPANEL_USER}@${CONTROLPANEL_HOST} "cd /home/ecs-user/infra-deploy/memowake-front && helm upgrade memowake-front . -n memowake --set image.tag=${TAG}"