also change prod

This commit is contained in:
Kevin Fenzi 2017-08-24 21:12:37 +00:00
parent dc19d02b1d
commit 64030a3009

View file

@ -7,7 +7,7 @@ then
{% if env == 'staging' %}
git clone https://pagure.io/fedora-docs/fedora-docs-web.git docs
{% else %}
git clone https://pagure.io/fedora-docs-web.git docs
git clone https://pagure.io/fedora-docs/fedora-docs-web.git docs
{% endif %}
fi
@ -16,5 +16,7 @@ cd /srv/web/docs
/usr/bin/git reset -q --hard
{% if env == 'staging' %}
/usr/bin/git checkout -q stg
{% else %}
/usr/bin/git checkout -q prod
{% endif %}
/usr/bin/git pull -q --ff-only