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
23
34on :
45 push :
5- branches : # 2
6+ branches :
67 - master
78 - main
89
910jobs :
1011 deploy :
1112 runs-on : ubuntu-latest
1213 steps :
13- - uses : actions/checkout@v2 # 3
14- - run : npm ci # 4
14+ - uses : actions/checkout@v2
15+ - run : npm ci
1516 - name : Run production migration
16- run : npm run migrate:deploy # 5
17+ run : npm run migrate:deploy
1718 env :
1819 DATABASE_URL : ${{ secrets.DATABASE_URL }}
19- - uses : akhileshns/heroku-deploy@v3.12.12 # 6
20+ - uses : akhileshns/heroku-deploy@v3.12.12
2021 with :
2122 heroku_api_key : ${{ secrets.HEROKU_API_KEY }}
2223 heroku_app_name : ${{ secrets.HEROKU_APP_NAME }}
2324 heroku_email : ${{ secrets.HEROKU_EMAIL }}
24-
25+
You can’t perform that action at this time.
0 commit comments