From bac80b8037baa364af4cc17a099f24ad47343fe5 Mon Sep 17 00:00:00 2001 From: Simon Quigley Date: Thu, 17 Oct 2019 10:33:15 -0500 Subject: [PATCH] Fix deploy script. --- Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index bcfa0afc..015b3795 100644 --- a/Makefile +++ b/Makefile @@ -50,13 +50,13 @@ help: serverbuild: # These translations are added manually when they get to the point # where they're decent. Only add them there when that's the case! - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) -D language="pl" ../webroot/pl.tmp/ - rm -rf ../webroot/pl/ - mv ../webroot/pl.tmp/ ../webroot/pl/ + #$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) -D language="pl" ../webroot/pl.tmp/ + #rm -rf ../webroot/pl/ + #mv ../webroot/pl.tmp/ ../webroot/pl/ - $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) ../webroot/en.tmp/ - rm -rf ../webroot/en/ - mv ../webroot/en.tmp/ ../webroot/en/ + $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) /srv/webroot/$(git rev-parse --abbrev-ref HEAD).tmp/ + rm -rf /srv/webroot/$(git rev-parse --abbrev-ref HEAD)/ + mv /srv/webroot/$(git rev-parse --abbrev-ref HEAD).tmp/ /srv/webroot/$(git rev-parse --abbrev-ref HEAD)/ .PHONY: clean clean: