tjdests/deploy.sh
2024-01-30 14:47:04 -05:00

9 lines
205 B
Bash
Executable File

#!/bin/sh
cd /site/public
git pull
TMPDIR=/site/tmp pipenv sync
pipenv run ./manage.py migrate
pipenv run ./manage.py collectstatic --no-input
echo "Deploy complete. Restart the site process to wrap up."