From ef69bcc51d153983f1d0ac9465fc924c5166e943 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Thu, 25 Jan 2018 10:12:49 +0200 Subject: [PATCH] A little cleanup of the tox and fabric commands. --- fabfile.py | 2 +- tox.ini | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/fabfile.py b/fabfile.py index ca99098..7da34f3 100644 --- a/fabfile.py +++ b/fabfile.py @@ -32,7 +32,7 @@ def regenerate(): local('pelican -r -s pelicanconf.py') def serve(): - local('cd {deploy_path} && python -m SimpleHTTPServer'.format(**env)) + local('cd {deploy_path} && python -m SimpleHTTPServer 8080'.format(**env)) def reserve(): build() diff --git a/tox.ini b/tox.ini index b78fa51..9956802 100644 --- a/tox.ini +++ b/tox.ini @@ -10,10 +10,9 @@ deps = pelican commands = build: fab build - serve: fab build serve - publish: fab publish - publish: git push + serve: fab reserve + publish: + fab publish + git push whitelist_externals = - ssh - rsync git -- GitLab