build staging websites with pagure repository
This commit is contained in:
parent
bb7a97f820
commit
58f9e61a9d
1 changed files with 5 additions and 5 deletions
|
@ -24,11 +24,11 @@ function build {
|
|||
return $rc;
|
||||
}
|
||||
|
||||
if [ ! -d /srv/web/fedora-web/.git ]
|
||||
if [ ! -d /srv/web/fedora-websites/.git ]
|
||||
then
|
||||
/usr/bin/git clone -q \
|
||||
git://git.fedorahosted.org/fedora-web.git \
|
||||
/srv/web/fedora-web
|
||||
https://pagure.io/fedora-websites.git \
|
||||
/srv/web/fedora-websites
|
||||
fi
|
||||
|
||||
# Freeze the website to prepare beta changes. On release day, comment the git
|
||||
|
@ -41,11 +41,11 @@ fi
|
|||
#
|
||||
# Good luck!
|
||||
|
||||
cd /srv/web/fedora-web
|
||||
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 flock2016 || exit 1
|
||||
/usr/bin/git checkout -q f24-alpha || exit 1
|
||||
|
||||
/usr/bin/git pull -q --ff-only || exit 1
|
||||
build spins.fedoraproject.org
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue