Skip to content

Commit

Permalink
Merge pull request #129 from maticnetwork/dev
Browse files Browse the repository at this point in the history
Update deployment workflow.
  • Loading branch information
sshrihar authored Mar 20, 2024
2 parents 15e8b06 + a34da22 commit 8f02d98
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 8f02d98

Please sign in to comment.