deploy chatmaild in a virtualenv to make it easier to add dependencies

This commit is contained in:
holger krekel
2023-12-08 20:34:27 +01:00
parent 59c3730d84
commit 652b9688d3
4 changed files with 84 additions and 64 deletions

View File

@@ -4,12 +4,5 @@ echo -----------------------------------------
echo deploying to $CHATMAIL_DOMAIN
echo -----------------------------------------
echo WARNING: in five seconds deploy to $CHATMAIL_DOMAIN starts
sleep 5
venv/bin/python3 -m build -n --sdist chatmaild --outdir dist
venv/bin/pyinfra --ssh-user root "$CHATMAIL_DOMAIN" \
deploy-chatmail/src/deploy_chatmail/deploy.py
rm -r dist/