Skip to content

Commit 54d0e17

Browse files
committed
Update upload instructions for docs
1 parent ca95709 commit 54d0e17

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

docs/other/upload_future_docs.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
On the local machine
2-
--------------------
1+
# On the local machine
32

4-
git checkout v0.7.0
3+
git checkout v0.16.0 # or whatever
54
rm -Rf docs/build/
65
cd docs; make html
76
cp cheatsheet.pdf /shared/
@@ -10,15 +9,14 @@ touch /shared/python-future-html-docs.zip
109
rm /shared/python-future-html-docs.zip
1110
zip -r /shared/python-future-html-docs.zip *
1211

13-
scp -i ~/.ssh/pythoncharmers_2015.pem /shared/python-future-html-docs.zip python-future.org:
14-
scp -i ~/.ssh/pythoncharmers_2015.pem /shared/cheatsheet.pdf python-future.org:
15-
ssh -i ~/.ssh/pythoncharmers_2015.pem python-future.org
12+
scp /shared/python-future-html-docs.zip python-future.org:
13+
scp /shared/cheatsheet.pdf python-future.org:
14+
ssh python-future.org
1615

1716

18-
On the remote machine:
19-
----------------------
17+
# On the remote machine:
2018

21-
cd /var/www/python-future/
19+
cd /var/www/python-future.org/
2220
unzip -o ~/python-future-html-docs.zip
2321
chmod a+r * html/* html/_static/*
2422
cp ~/cheatsheet.pdf ./html/compatible_idioms.pdf

0 commit comments

Comments
 (0)