docs combined site to prod

This commit is contained in:
Kevin Fenzi 2018-08-02 15:25:30 +00:00
parent 50c8cc82fd
commit 129cd1f153
4 changed files with 40 additions and 148 deletions

View file

@ -1,3 +1,11 @@
#!/bin/sh
/usr/bin/rsync -aSHPv --delete --exclude=.git/objects/ sundries01::docs/ /srv/web/docs.fedoraproject.org/
/usr/bin/rsync -aSHPv --delete --exclude=.git/objects/ sundries01::docs-redirects/ /srv/web/docs-redirects/
# build the combined docs tree.
# See https://pagure.io/fedora-infrastructure/issue/7130
/usr/bin/rsync -aH /srv/web/docs-old.fedoraproject.org/public_html/ /srv/web/docs-combined/
/usr/bin/rsync -aH /srv/web/docs-redirects/ /srv/web/docs-combined/
/usr/bin/rsync -aH /srv/web/docs.fedoraproject.org/ /srv/web/docs-combined/