We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2aac24 commit dd3bde2Copy full SHA for dd3bde2
.github/workflows/main.yml
@@ -2,17 +2,19 @@ name: heroku-deploy-stop-start
2
3
on:
4
workflow_dispatch:
5
- branches:
6
- - main
7
inputs:
8
actions:
9
- description: "deploy/stop/start"
+ description: "action: deploy/stop/start"
10
default: "deploy"
+ env:
+ description: "environment: "
11
+ default: ""
12
13
jobs:
14
heroku-deploy:
15
if: ${{ github.event.inputs.actions == 'deploy' || github.event.inputs.actions == ''}}
16
runs-on: ubuntu-latest
17
+ environment: ${{ github.event.inputs.env }}
18
steps:
19
- uses: actions/checkout@v2
20
- uses: akhileshns/heroku-deploy@v3.6.8 # This is the action
0 commit comments