-
-
Notifications
You must be signed in to change notification settings - Fork 155
22 lines (19 loc) · 608 Bytes
/
ml.yml
File metadata and controls
22 lines (19 loc) · 608 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: ML-Recognition
on:
push:
branches:
- 'MachineLearningLabs/HandwritingRecognition'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Build and deploy the Docker image
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
APP_NAME: ${{ 'ml-recognition' }}
run: |
cd ./MachineLearningLabs/HandwritingRecognition
docker login --username=_ --password=$HEROKU_API_KEY registry.heroku.com
heroku container:push web -a $APP_NAME
heroku container:release web -a $APP_NAME