更新.gitlab-ci.yml文件

This commit is contained in:
skeleton 2024-10-16 08:18:52 +00:00
parent 3252b0bbb3
commit ab2221f7ea
1 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,8 @@ sync_job:
- rsync -avz --delete ./temp/ $REMOTE_USER@$REMOTE_HOST:$REMOTE_DEPLOY_PATH
# 触发部署
- curl --version
- echo "$SERVER_CI_TOKEN"
- echo "$ServerName"
- 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
# 解锁作业,释放锁定