We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e8ac518 commit 9be33c4Copy full SHA for 9be33c4
.github/workflows/main.yml
@@ -14,8 +14,6 @@ jobs:
14
if: ${{ github.event.inputs.actions == 'deploy' }}
15
runs-on: ubuntu-latest
16
steps:
17
- - run: |
18
- echo "testinput: ${{ github.event.inputs.testinput }}"
19
- uses: actions/checkout@v2
20
- uses: akhileshns/heroku-deploy@v3.6.8 # This is the action
21
with:
@@ -42,4 +40,8 @@ jobs:
42
40
heroku_app_name: ${{secrets.APP_NAME}} #Must be unique in Heroku
43
41
heroku_email: ${{secrets.EMAIL}}
44
justlogin: true
45
- - run: heroku auth:whoami
+ - run: |
+ echo ${{ github.event.inputs.actions }}
+ if [[ ${{ github.event.inputs.actions }} == 'stop' ]]; then echo "stop" && echo "dd"; fi
46
+ if [[ ${{ github.event.inputs.actions }} == 'start' ]]; then echo "start" && echo "dd"; fi
47
+ heroku auth:whoami
0 commit comments