Fix branch name

This commit is contained in:
David Straub
2021-09-24 21:15:52 +02:00
parent ff1e79f795
commit 8a877ee266
+18 -18
View File
@@ -3,26 +3,26 @@ name: Deploy to Heroku
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install and Build
env:
API_URL: https://grampsjs-demo.herokuapp.com
run: |
npm install
npm run build
- uses: akhileshns/heroku-deploy@v3.8.8
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: grampsjs-demo
heroku_email: ${{secrets.HEROKU_EMAIL}}
usedocker: true
appdir: demo
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "16"
- name: Install and Build
env:
API_URL: https://grampsjs-demo.herokuapp.com
run: |
npm install
npm run build
- uses: akhileshns/heroku-deploy@v3.8.8
with:
heroku_api_key: ${{secrets.HEROKU_API_KEY}}
heroku_app_name: grampsjs-demo
heroku_email: ${{secrets.HEROKU_EMAIL}}
usedocker: true
appdir: demo