Fix deploy script.
This commit is contained in:
parent
0b98845fd3
commit
bac80b8037
12
Makefile
12
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user