Make this idempotent so it doesn't flip flop staging.

This commit is contained in:
Kevin Fenzi 2015-06-15 22:31:22 +00:00
parent e2057832e4
commit 1ac1452a8c

View file

@ -124,7 +124,6 @@
# back to the main release.
# This should be disabled when there is a prerelease
#
- role: httpd/redirectmatch
name: prerelease-to-final
website: getfedora.org
regex: /(.*)/prerelease.*$
@ -136,6 +135,7 @@
website: getfedora.org
regex: /(.*)/prerelease.*$
target: https://getfedora.org/$1
when: env != 'staging'
- role: httpd/redirect
name: store