From a34da22c68991cb99423c1c34dda8ff40209622a Mon Sep 17 00:00:00 2001 From: Saurabh Shrihar Date: Wed, 20 Mar 2024 12:24:53 +0400 Subject: [PATCH] Update deployment workflow. --- .github/workflows/deployment.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 6e423b4..8eb9082 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -7,14 +7,15 @@ on: inputs: environment: required: false - default: dev type: choice description: "Select the environment to deploy to (optional for pushes)" - choices: ["dev", "staging", "prod"] + options: + - staging + - prod jobs: deploy: uses: ./.github/workflows/build_and_deploy.yml with: - environment: ${{ github.event.inputs.environment || 'dev' }} + environment: ${{ inputs.environment || 'dev' }} secrets: inherit