Merge pull request #427 from euanwm/db/jan_27_2025 #127
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: 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 Development Frontend | |
uses: behe/heroku-build@v1 | |
with: | |
app-name: "dev-branch-frontend" | |
api-key: "${{secrets.HEROKU_API_KEY}}" | |
path: "./frontend/" |