docs-sync: sync stg to prod with hardlinking
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
bc50774893
commit
9d97ad3e6f
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
/usr/bin/rsync -aSHPv --delete --delete-excluded --exclude=.git/objects/ --exclude='copying-tmp/' sundries01::docs/ /srv/web/docs.fedoraproject.org/
|
||||
/usr/bin/rsync -aSHPv --delete --delete-excluded --exclude=.git/objects/ --exclude='copying-tmp/' sundries01::docs-redirects/ /srv/web/docs-redirects/
|
||||
/usr/bin/rsync --timeout 300 -aH --link-dest /srv/web/docs-redirects/ --link-dest /srv/web/docs-old.fedoraproject.org/public_html/ --link-dest /srv/web/docs-combined/ --delete --delete-excluded --delete-after --exclude=.git --exclude='copying.tmp/' sundries01::docs/ /srv/web/docs.fedoraproject.org/
|
||||
/usr/bin/rsync --timeout 300 -aH --link-dest /srv/web/docs.fedoraproject.org --link-dest /srv/web/docs-old.fedoraproject.org/public_html/ --link-dest /srv/web/docs-combined/ --delete --delete-excluded --delete-after --exclude=.git --exclude='copying.tmp/' sundries01::docs-redirects/ /srv/web/docs-redirects/
|
||||
|
||||
# build the combined docs tree.
|
||||
# See https://pagure.io/fedora-infrastructure/issue/7130
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue