-
Notifications
You must be signed in to change notification settings - Fork 21
39 lines (37 loc) · 1.02 KB
/
deploy_dev.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
38
39
name: Deploy to Development
on:
push:
branches:
- development
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Move event_data
run: |
cp -r event_data/ backend/
- name: Deploy Development Backend
uses: behe/heroku-build@v1
with:
app-name: "dev-branch-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: Install dependencies from pipfile
run: |
cd python_tools
python -m pip install --upgrade pip
pip install pipenv
pipenv install --dev
- name: Build Frontend Filters
run: make install_tools
- name: Deploy Development Frontend
uses: behe/heroku-build@v1
with:
app-name: "dev-branch-frontend"
api-key: "${{secrets.HEROKU_API_KEY}}"
path: "./frontend/"