From f4d924b9ad3d5e576047c7056969b71356fc4c4e Mon Sep 17 00:00:00 2001 From: skeleton Date: Wed, 16 Oct 2024 07:28:47 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0.gitlab-ci.yml=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ff1fa5a..7c821f9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -117,7 +117,7 @@ sync_job: - rsync -avz --delete ./temp/ $REMOTE_USER@$REMOTE_HOST:$REMOTE_DEPLOY_PATH # 触发部署 - - "curl -X POST --fail -F token=$SERVER_CI_TOKEN -F ref=release https://git.pogorockgames.com/api/v4/projects/31/trigger/pipeline" + - "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" # 解锁作业,释放锁定 unlock_job: