File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 1
- name : deploy-hackernews-app-heroku # 1
1
+
2
+ name : deploy-hackernews-app-heroku
2
3
3
4
on :
4
5
push :
5
- branches : # 2
6
+ branches :
6
7
- master
7
8
- main
8
9
9
10
jobs :
10
11
deploy :
11
12
runs-on : ubuntu-latest
12
13
steps :
13
- - uses : actions/checkout@v2 # 3
14
- - run : npm ci # 4
14
+ - uses : actions/checkout@v2
15
+ - run : npm ci
15
16
- name : Run production migration
16
- run : npm run migrate:deploy # 5
17
+ run : npm run migrate:deploy
17
18
env :
18
19
DATABASE_URL : ${{ secrets.DATABASE_URL }}
19
- -
uses :
akhileshns/[email protected] # 6
20
+ -
uses :
akhileshns/[email protected]
20
21
with :
21
22
heroku_api_key : ${{ secrets.HEROKU_API_KEY }}
22
23
heroku_app_name : ${{ secrets.HEROKU_APP_NAME }}
23
24
heroku_email : ${{ secrets.HEROKU_EMAIL }}
24
-
25
+
You can’t perform that action at this time.
0 commit comments