dedupe syndicated copies if the original has u-syndication
This commit is contained in:
parent
80bf15238f
commit
8bc33dc611
8 changed files with 53 additions and 7 deletions
13
fabfile.py
vendored
13
fabfile.py
vendored
|
@ -1,4 +1,4 @@
|
|||
from fabric.api import local, prefix, cd, run, env, lcd
|
||||
from fabric.api import local, prefix, cd, run, env, lcd, sudo
|
||||
|
||||
env.hosts = ['orin.kylewm.com']
|
||||
|
||||
|
@ -20,11 +20,20 @@ def pull():
|
|||
run("git submodule update")
|
||||
|
||||
|
||||
def push_remote():
|
||||
with cd(REMOTE_PATH):
|
||||
run("git add -p")
|
||||
run("git diff-index --quiet HEAD || git commit")
|
||||
run("git push origin master")
|
||||
|
||||
|
||||
def restart():
|
||||
with cd(REMOTE_PATH):
|
||||
with prefix("source venv/bin/activate"):
|
||||
run("pip install --upgrade -r requirements.txt")
|
||||
run("supervisorctl restart ww:*")
|
||||
sudo("restart woodwind")
|
||||
sudo("restart woodwind-celery")
|
||||
sudo("restart woodwind-tornado")
|
||||
|
||||
|
||||
def deploy():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue