Skip to content

Commit 2d2cc8b

Browse files
committed
Update rsync command for uploading docs
1 parent c9844bb commit 2d2cc8b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tox.ini

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,9 @@ deps=rstcheck
6464
allowlist_externals=rsync
6565
changedir=docs
6666
commands=
67-
rsync -azP --stats --delete _build/html/ \
68-
grantjenks.com:/srv/www/www.grantjenks.com/public/docs/diskcache/
67+
rsync --rsync-path 'sudo -u herokuish rsync' -azP --stats --delete \
68+
_build/html/ \
69+
grantjenks:/srv/www/grantjenks.com/public/docs/diskcache/
6970

7071
[isort]
7172
multi_line_output = 3

0 commit comments

Comments
 (0)