-
Notifications
You must be signed in to change notification settings - Fork 0
19 lines (19 loc) · 1.05 KB
/
deploy-heroku.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name: 'Deploy-Heroku' #set whatevername you want to your github job
on:
push:
tags:
- '*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build, Push and Deploy to Heroku #set the whatever name you want to this step
id: heroku
uses: snithyanantham/docker-compose-multiple-apps-heroku-deploy@v1.0 # use the latest version of the action
with:
email: ${{ secrets.HEROKU_EMAIL }} # your heroku email
api_key: ${{ secrets.HEROKU_API_KEY }} # your heroku api key
docker_compose_file: './src/docker-compose.heroku.yml' # set the path to the folder where the docker-compose file is located
heroku_apps: '[{"imagename":"myfamilymanager-web","appname":"myfamilymanager-web","apptype":"web"},{"imagename":"myfamilymanager-api","appname":"myfamilymanager-api","apptype":"web"},{"imagename":"myfamilymanager-identity","appname":"myfamilymanager-identity","apptype":"web"}]' # List of Docker Image name, Heroku app and Heroku app type