commit 3f8fff1435d20c6d5e7bd134fb7c6693b6072752
parent e676d57dd5a8256dce8c597079118ef3bb091655
Author: Daniel Moch <daniel@danielmoch.com>
Date: Sun, 10 Feb 2019 18:20:01 -0500
Change nncli deploy step
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/master.cfg b/server/master.cfg
@@ -80,7 +80,7 @@ nncli_factory.addStep(steps.Git(repourl='https://git.danielmoch.com/nncli.git',
nncli_factory.addStep(steps.Configure(command=["make", "test-install"], env={"PYTHONPATH": "."}))
nncli_factory.addStep(steps.Test(command=["make", "test-all"], env={"PYTHONPATH": "."}))
nncli_factory.addStep(steps.ShellCommand(name="Sphinx", command=["make","html"], workdir="build/docs"))
-nncli_factory.addStep(steps.ShellCommand(name="Deploy Docs", command=['cp', '-R', 'html', '/srv/http/www/nncli'], workdir='build/docs/build'))
+nncli_factory.addStep(steps.ShellCommand(name="Deploy Docs", command=['rsync', '-aPe', 'ssh', '--del', 'html', '/srv/http/www/nncli'], workdir='build/docs/build'))
hookmeup_factory = util.BuildFactory()
hookmeup_factory.addStep(steps.Git(repourl='https://git.danielmoch.com/hookmeup.git', mode='incremental'))