also change prod
This commit is contained in:
parent
dc19d02b1d
commit
64030a3009
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue