Skip to content

Instantly share code, notes, and snippets.

@evasilchenko
Created December 2, 2016 05:47
Show Gist options
  • Save evasilchenko/3c3e3e541164db737411269fbdd3be97 to your computer and use it in GitHub Desktop.
Save evasilchenko/3c3e3e541164db737411269fbdd3be97 to your computer and use it in GitHub Desktop.
stage ("Collect Static files") {
sh '''
source bin/activate
python <relative path to manage.py> collectstatic --noinput
deactivate
'''
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment