Skip to content

feature(core): pipelines and Procfile #1

feature(core): pipelines and Procfile

feature(core): pipelines and Procfile #1

Workflow file for this run

name: Deploy the code into Heroku
on:
push:
branches:
- maaster
jobs:
prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: sudo apt install python3
- name: Login to Heroku Container registry
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:login
- name: Build and push
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:push web -a ${{ secrets.HEROKU_APP_NAME }}
- name: Release
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
run: heroku container:release web -a ${{ secrets.HEROKU_APP_NAME }}