| 1 | name: Manual deploy |
| 2 | run-name: Deploy to ${{ inputs.environment }} by @${{ github.actor }} |
| 3 | on: |
| 4 | workflow_dispatch: |
| 5 | inputs: |
| 6 | environment: |
| 7 | description: Where to deploy |
| 8 | type: environment |
| 9 | required: true |
| 10 | log-level: |
| 11 | description: Log level |
| 12 | required: true |
| 13 | default: warning |
| 14 | type: choice |
| 15 | options: |
| 16 | - info |
| 17 | - warning |
| 18 | - debug |
| 19 | dry-run: |
| 20 | type: boolean |
| 21 | default: true |
| 22 | count: |
| 23 | type: number |
| 24 | default: 1 |
| 25 | notes: |
| 26 | description: Free text |
| 27 | jobs: |
| 28 | deploy: |
| 29 | runs-on: ubuntu-latest |
| 30 | environment: ${{ inputs.environment }} |
| 31 | steps: |
| 32 | - run: echo "Deploying with ${{ inputs.log-level }}" |