Fix deploy script.

19.10
Simon Quigley 5 years ago
parent f475f98c03
commit 07317bc951

@ -50,13 +50,13 @@ help:
serverbuild: serverbuild:
# These translations are added manually when they get to the point # These translations are added manually when they get to the point
# where they're decent. Only add them there when that's the case! # where they're decent. Only add them there when that's the case!
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) -D language="pl" ../webroot/pl.tmp/ #$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) -D language="pl" ../webroot/pl.tmp/
rm -rf ../webroot/pl/ #rm -rf ../webroot/pl/
mv ../webroot/pl.tmp/ ../webroot/pl/ #mv ../webroot/pl.tmp/ ../webroot/pl/
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) ../webroot/en.tmp/ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) /srv/webroot/$(git rev-parse --abbrev-ref HEAD).tmp/
rm -rf ../webroot/en/ rm -rf /srv/webroot/$(git rev-parse --abbrev-ref HEAD)/
mv ../webroot/en.tmp/ ../webroot/en/ mv /srv/webroot/$(git rev-parse --abbrev-ref HEAD).tmp/ /srv/webroot/$(git rev-parse --abbrev-ref HEAD)/
.PHONY: clean .PHONY: clean
clean: clean:

Loading…
Cancel
Save