This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Commit acc65f1
1 parent e51b7ca commit acc65f1 Copy full SHA for acc65f1
File tree 1 file changed +8
-5
lines changed
1 file changed +8
-5
lines changed Original file line number Diff line number Diff line change 9
9
description : " deploy/stop/start"
10
10
default : " deploy"
11
11
12
+ env :
13
+ actions : ${{ github.event.inputs.actions }}
14
+
12
15
jobs :
13
16
heroku-deploy :
14
- if : ${{ github.event.inputs. actions == 'deploy' }}
17
+ if : ${{ actions == 'deploy' }}
15
18
runs-on : ubuntu-latest
16
19
steps :
17
20
- uses : actions/checkout@v2
30
33
NODE_ENV : production
31
34
SECRET_KEY : ${{ secrets.MY_SECRET_KEY }}
32
35
stop :
33
- if : ${{ github.event.inputs. actions == 'start' || github.event.inputs. actions == 'stop' }}
36
+ if : ${{ actions == 'start' || actions == 'stop' }}
34
37
runs-on : ubuntu-latest
35
38
steps :
36
39
- uses : actions/checkout@v2
41
44
heroku_email : ${{secrets.EMAIL}}
42
45
justlogin : true
43
46
- run : |
44
- echo ${{ github.event.inputs. actions }}
45
- 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
+ echo ${{ actions }}
48
+ if [[ ${{ actions }} == 'stop' ]]; then echo "stop" && echo "dd"; fi
49
+ if [[ ${{ actions }} == 'start' ]]; then echo "start" && echo "dd"; fi
47
50
heroku auth:whoami
You can’t perform that action at this time.
0 commit comments