Skip to content

Commit

Permalink
Generate requirements.txt when deploying and update cf start command
Browse files Browse the repository at this point in the history
  • Loading branch information
akuny committed Jan 24, 2024
1 parent aabae27 commit f7ba17d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
curl -sSL https://install.python-poetry.org | python3 -
echo "/root/.local/bin" >> $GITHUB_PATH
- name: Create requirements.txt
shell: bash
run: poetry export --without-hashes --format=requirements.txt > requirements.txt

- 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: poetry run start web
command: python3 web.py
env:
APP_ENV: dev_remote

0 comments on commit f7ba17d

Please sign in to comment.