File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2,18 +2,21 @@ name: heroku-deploy-stop-start
2
2
3
3
on :
4
4
workflow_dispatch :
5
- branches :
6
- - main
7
5
inputs :
8
6
actions :
9
- description : " deploy/stop/start"
7
+ description : " action: deploy/stop/start"
10
8
default : " deploy"
9
+ env :
10
+ description : " environment: Input the name of Environment. If left blank, the main secrets setting will be used by default."
11
+ default : " "
11
12
12
13
jobs :
13
14
heroku-deploy :
14
15
if : ${{ github.event.inputs.actions == 'deploy' || github.event.inputs.actions == ''}}
15
16
runs-on : ubuntu-latest
17
+ environment : ${{ github.event.inputs.env }}
16
18
steps :
19
+ - run : echo APP_NAME is ${{secrets.APP_NAME}}
17
20
- uses : actions/checkout@v2
18
21
- uses : akhileshns/heroku-deploy@v3.6.8 # This is the action
19
22
with :
You can’t perform that action at this time.
0 commit comments