mirror of
https://github.com/codl/forget
synced 2025-01-05 19:56:48 +01:00
fix post-receive hook
This commit is contained in:
parent
ff358ed64f
commit
8ad6b841c1
@ -12,7 +12,7 @@ while read old new refname; do
|
||||
(
|
||||
cd /home/codl/forget
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
env -u GIT_DIR -u GIT_WORK_TREE pip install -r requirements.txt
|
||||
tools/write-version.sh
|
||||
FLASK_APP='forget.py' flask db upgrade
|
||||
if [[ $(git diff --name-only ${old}..${new} dodo.py) == 'dodo.py' ]]
|
||||
|
Loading…
Reference in New Issue
Block a user