We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c2aac24 + 5eb273f commit 608124cCopy full SHA for 608124c
.github/workflows/main.yml
@@ -2,18 +2,21 @@ 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: Input the name of Environment. If left blank, the main secrets setting will be used by default."
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
+ - run: echo APP_NAME is ${{secrets.APP_NAME}}
20
- uses: actions/checkout@v2
21
- uses: akhileshns/heroku-deploy@v3.6.8 # This is the action
22
with:
0 commit comments