update ci
This commit is contained in:
parent
eb7d3f00c8
commit
239d88d4ad
|
@ -112,7 +112,7 @@ sync_job:
|
|||
# 使用 rsync 将文件同步到远程服务器
|
||||
- echo "同步到服务器"
|
||||
- echo "Deploying to remote server using rsync..."
|
||||
- rsync -avz --delete ./temp/ $REMOTE_USER@$REMOTE_HOST:$REMOTE_DEPLOY_PATH
|
||||
- rsync -avz --delete ./temp/ $REMOTE_USER@$REMOTE_HOST:/home/game
|
||||
|
||||
# 触发部署
|
||||
- "curl -X POST --fail -F token=$SERVER_CI_TOKEN -F ref=release -F variables[ServerName]=$ServerName https://git.pogorockgames.com/api/v4/projects/31/trigger/pipeline"
|
||||
|
|
Loading…
Reference in New Issue