Skip to content

Commit 550e8ff

Browse files
committed
added 'python manage.py build' to update-site wsgi endpoint.
1 parent c896219 commit 550e8ff

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

wsgi-scripts/hackbook_dot_hackasaurus_dot_org.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def update_site(env, start):
3535
retvals = []
3636
for cmds in [['pull'], ['submodule', 'init'], ['submodule', 'update']]:
3737
retvals.append(subprocess.call(['git'] + cmds, cwd=path('..')))
38+
retvals.append(subprocess.call(['python', 'manage.py', 'build'],
39+
cwd=path('..')))
3840
status = '200 OK'
3941
output = str(retvals)
4042
response_headers = [('Content-type', 'text/plain'),

0 commit comments

Comments
 (0)