Skip to content

Commit

Permalink
Adjust dev config
Browse files Browse the repository at this point in the history
  • Loading branch information
akuny committed Feb 14, 2024
1 parent 736cc7b commit affc2ab
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,22 @@ jobs:
shell: bash
run: poetry export --without-hashes --format=requirements.txt > requirements.txt

- name: Install Python dependencies
run: |
python3 -m pip install --upgrade pip
pip install -r requirements.txt
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20.11.0

- name: Install and build frontend dependencies
working-directory: ./nad_ch/controllers/web
run: |
npm install --omit=dev
npm run build
- name: Deploy to dev environment
uses: 18f/cg-deploy-action@main
with:
Expand Down
2 changes: 1 addition & 1 deletion manifest-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ applications:
random-route: true
memory: 256M
stack: cflinuxfs4
command: python nad_ch/web.py
command: python nad_ch/main.py serve_flask_app
env:
APP_ENV: dev_remote

0 comments on commit affc2ab

Please sign in to comment.