mirror of
https://github.com/gramps-project/gramps-web.git
synced 2026-10-16 21:01:38 +08:00
Fix branch name
This commit is contained in:
+18
-18
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user