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

Fix flake8 errors in the fabfile

parent b024e748
No related branches found
No related tags found
No related merge requests found
import os
from datetime import datetime from datetime import datetime
from fabric.api import lcd, roles, runs_once, run, local, env, prompt, get from fabric.api import lcd, roles, runs_once, run, local, env, prompt, get
...@@ -164,6 +163,7 @@ def build_static(): ...@@ -164,6 +163,7 @@ def build_static():
with lcd('/vagrant/opentech/static_src/'): with lcd('/vagrant/opentech/static_src/'):
local('yarn build:prod --silent') local('yarn build:prod --silent')
@runs_once @runs_once
def deploy_static(): def deploy_static():
# Copy the compiled static files to the server # Copy the compiled static files to the server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment