Last active
April 9, 2021 22:30
-
-
Save osantana/b09ea1221c393e6ac5c6d18e90265361 to your computer and use it in GitHub Desktop.
heroku-poetry-deployment-makefile
This file contains hidden or 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
# : | |
# : | |
youplanny/poetry.lock: pyproject.toml | |
poetry lock | |
requirements.txt: poetry.lock | |
poetry export --without-hashes -f requirements.txt -o requirements.txt | |
deploy: requirements.txt | |
# here you can check if we have a clean workdir and checkout master branch | |
git add requirements.txt | |
git commit -m "Update requirements.txt with the project dependencies in pyproject.toml" | |
git push heroku master | |
# : | |
# : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment