From 10e34f3133b21b90fbe8b6cd4daf48124cba0f5c Mon Sep 17 00:00:00 2001 From: Steve Laing Date: Tue, 17 Oct 2023 15:23:13 +0100 Subject: [PATCH] Add workflow_dispatch event trigger --- .github/workflows/build-and-deploy.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index f3488857..3dc698e1 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -9,6 +9,16 @@ on: branches: - main types: [opened, reopened, synchronize, labeled] + workflow_dispatch: + inputs: + environment: + description: "Environment" + required: true + type: choice + options: + - test + - preproduction + - production permissions: contents: write