Fix deploy script.

19.10
Simon Quigley 5 years ago
parent f475f98c03
commit 07317bc951

@ -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:

Loading…
Cancel
Save