Created
September 8, 2022 23:54
-
-
Save nakamasato/b7aeb3c0d9605719a581e3f6869cfd15 to your computer and use it in GitHub Desktop.
GitHub Actions - workflow-dispatch-with-environment
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: workflow-dispatch-with-environment | |
on: | |
workflow_dispatch: | |
inputs: | |
logLevel: | |
description: 'Log level' | |
required: true | |
default: 'warning' | |
type: choice | |
options: | |
- info | |
- warning | |
- debug | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
environment: production | |
steps: | |
- run: echo ${{ inputs.logLevel }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment