Skip to content

Commit aa757f7

Browse files
committed
change "install" targets to use pytest-dev user so that Brianna, Ronny, me
and others can push to pytest.org
1 parent 4222a80 commit aa757f7

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/en/Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ PAPEROPT_a4 = -D latex_paper_size=a4
1212
PAPEROPT_letter = -D latex_paper_size=letter
1313
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
1414

15-
SITETARGET=latest
1615

1716
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest
1817

@@ -43,11 +42,15 @@ help:
4342
clean:
4443
-rm -rf $(BUILDDIR)/*
4544

45+
SITETARGET=dev
46+
4647
install: html
47-
rsync -avz _build/html/ pytest.org:/www/pytest.org/$(SITETARGET)
48+
# for access talk to someone with login rights to
49+
# [email protected] to add your ssh key
50+
rsync -avz _build/html/ [email protected]:/www/pytest.org/$(SITETARGET)
4851

4952
installpdf: latexpdf
50-
@scp $(BUILDDIR)/latex/pytest.pdf pytest.org:/www/pytest.org/$(SITETARGET)
53+
@scp $(BUILDDIR)/latex/pytest.pdf pytest-dev@pytest.org:/www/pytest.org/$(SITETARGET)
5154

5255
installall: clean install installpdf
5356
@echo "done"

0 commit comments

Comments
 (0)