Skip to content
Snippets Groups Projects
Commit 11bba1af authored by Todd Dembrey's avatar Todd Dembrey
Browse files

hide static methods from the cli

parent a1e0a295
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,8 @@ def pull_production_media():
@roles('staging')
def deploy_staging():
build_static()
deploy_static()
_build_static()
_deploy_static()
run('git pull')
run('pip install -r requirements.txt')
......@@ -152,7 +152,7 @@ def _post_deploy():
@runs_once
def build_static():
def _build_static():
# Build a specific branch
build_branch = 'master'
current_branch = local('git rev-parse --abbrev-ref HEAD')
......@@ -165,6 +165,6 @@ def build_static():
@runs_once
def deploy_static():
def _deploy_static():
# Copy the compiled static files to the server
local("rsync -avz /vagrant/opentech/static_compiled %s:'../app/opentech/'" % (env['host_string']))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment