-
Notifications
You must be signed in to change notification settings - Fork 21
37 lines (35 loc) · 992 Bytes
/
deploy_prod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Deploy to Production
on:
release:
types: [published]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Move event_data
run: |
cp -r event_data/ backend/
- name: Deploy OWL Backend
uses: behe/heroku-build@v1
with:
app-name: "owl-production-backend"
api-key: "${{secrets.HEROKU_API_KEY}}"
path: "./backend/"
- name: Setup Python 3.11
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: Build Frontend Filters
run: |
cd python_tools
python -m pip install --upgrade pip
pip install pipenv
pipenv install --dev
pipenv run python3 fe_builder.py
- name: Deploy OWL Frontend
uses: behe/heroku-build@v1
with:
app-name: "owl-production-frontend"
api-key: "${{secrets.HEROKU_API_KEY}}"
path: "./frontend/"