diff --git a/roles/fedora-web/build/files/syncStatic.stg.sh b/roles/fedora-web/build/files/syncStatic.stg.sh index 0b928f9e42..86198df5c3 100644 --- a/roles/fedora-web/build/files/syncStatic.stg.sh +++ b/roles/fedora-web/build/files/syncStatic.stg.sh @@ -46,8 +46,8 @@ cd /srv/web/fedora-websites /usr/bin/git clean -q -fdx || exit 1 /usr/bin/git reset -q --hard || exit 1 /usr/bin/git checkout -q f26-alpha || exit 1 - /usr/bin/git pull -q --ff-only || exit 1 + build spins.fedoraproject.org build labs.fedoraproject.org build arm.fedoraproject.org @@ -62,12 +62,23 @@ popd > /dev/null /usr/bin/git clean -q -fdx || exit 1 /usr/bin/git reset -q --hard || exit 1 /usr/bin/git checkout -q master || exit 1 - /usr/bin/git pull -q --ff-only || exit 1 build boot.fedoraproject.org build fedoracommunity.org build fudcon.fedoraproject.org build start.fedoraproject.org -build budget.fedoraproject.org build flocktofedora.org + +if [ ! -d /srv/web/budget.fedoraproject.org/.git ] +then + /usr/bin/git clone -q \ + https://pagure.io/fedora-budget-site.git \ + /srv/web/budget.fedoraproject.org +fi + +cd /srv/web/budget.fedoraproject.org +/usr/bin/git clean -q -fdx || exit 1 +/usr/bin/git reset -q --hard || exit 1 +/usr/bin/git checkout -q stg || exit 1 +/usr/bin/git pull -q --ff-only || exit 1