From bc7c261098144f2df03ad6cbc74f749383613b12 Mon Sep 17 00:00:00 2001 From: Carvin Yu <46855952+Carvin-Yu@users.noreply.github.com> Date: Sun, 7 Jan 2024 16:36:44 +0800 Subject: [PATCH] Release cd.yaml --- .github/workflows/cd.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cd.yaml b/.github/workflows/cd.yaml index 346b69d..b1e29d7 100644 --- a/.github/workflows/cd.yaml +++ b/.github/workflows/cd.yaml @@ -4,7 +4,17 @@ on: push: # 代码推送到main分支自动触发工作流 branches: - main - workflow_dispatch: # 手动触发 + workflow_dispatch: # 允许手动触发 + inputs: + environment: + type: choice + description: 'Action' + required: false + default: Just Release + options: + - Release + - Release ann Deploy + permissions: write-all # 给所有工作写权限