mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
[manual] Move update-prod-static and update-deployments back to tools/.
update-deployment has been replaced by upgrade-zulip for local server instances, since it won't be running off a git repository, and update-prod-static won't be needed since we plan on shipping minified javascript. When we deploy this, the deployment will fail, and then we'll need to update the git checkout from which post-receive runs on git.zulip.net. (imported from commit 86aaedbab09c60ae86ac1d0ae492d0d1bc45569f)
This commit is contained in:
@@ -53,8 +53,9 @@ subprocess.check_call(["rmdir", extract_path])
|
||||
os.chdir(deploy_path)
|
||||
|
||||
# Update static files
|
||||
# TODO: Remove this and replace it with shipping already minified js.
|
||||
logging.info("Updating static files")
|
||||
subprocess.check_call(["./scripts/update-prod-static", "--prev-deploy",
|
||||
subprocess.check_call(["./tools/update-prod-static", "--prev-deploy",
|
||||
os.path.join(DEPLOYMENTS_DIR, 'current')])
|
||||
|
||||
logging.info("Restarting server...")
|
||||
|
Reference in New Issue
Block a user