From 6c5263c0afc99cba801429fa5d65e93135dff713 Mon Sep 17 00:00:00 2001 From: shellingfordly Date: Wed, 13 Nov 2024 10:15:08 +0800 Subject: [PATCH] chore: update deploy script --- .github/workflows/server.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 22161ae..7b0f1a6 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -1,4 +1,4 @@ -name: server build +name: Deploy to server # 触发workflow的条件 on: push: @@ -14,6 +14,7 @@ on: # jobs表示执行的一项或多项任务 jobs: deploy: # 任务的job_id,具体名称自定义,这里build代表打包 + if: false runs-on: ubuntu-latest # runs-on字段指定运行所需要的虚拟机环境。注意:这个是必填字段 steps: # 切换分支