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