From 2caa79f652fb8c53f1fe92b72cd502c2dfc307e5 Mon Sep 17 00:00:00 2001 From: Yuru Shao Date: Wed, 12 Jun 2024 07:32:24 +0000 Subject: [PATCH] only keep workflow_dispatch --- .github/workflows/deploy_api.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy_api.yml b/.github/workflows/deploy_api.yml index 603311cf..a237295e 100644 --- a/.github/workflows/deploy_api.yml +++ b/.github/workflows/deploy_api.yml @@ -1,18 +1,14 @@ name: Deploy api to GAE on: - pull_request: - branches: ["main"] - workflow_dispatch: inputs: environment: description: "Environment to deploy to" required: true default: "dev" - options: - - "dev" - - "prod" + type: choice + options: [dev, prod] permissions: contents: read