Static Deployment #135
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Static Deployment | |
on: | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
inputs: | |
environment: | |
required: false | |
type: choice | |
description: "Select the environment to deploy to (optional for pushes)" | |
options: | |
- staging | |
- prod | |
jobs: | |
deploy: | |
uses: ./.github/workflows/build_and_deploy.yml | |
with: | |
environment: ${{ inputs.environment || 'dev' }} | |
secrets: inherit |