mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 03:57:02 +08:00
also change prod
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user