Adjust the pagure configuration file to rely on pagure-staging

This commit is contained in:
Pierre-Yves Chibon 2015-04-02 21:40:14 +02:00
parent 1151064eb4
commit b1da9162b0
2 changed files with 6 additions and 6 deletions

View file

@ -25,14 +25,14 @@ EMAIL_ERROR = 'pingou@pingoured.fr'
SMTP_SERVER = 'localhost' SMTP_SERVER = 'localhost'
### Email used to sent emails ### Email used to sent emails
{% if env == 'staging' %} {% if env == 'pagure-staging' %}
FROM_EMAIL = 'pagure@stg.pagure.io' FROM_EMAIL = 'pagure@stg.pagure.io'
{% else %} {% else %}
FROM_EMAIL = 'pagure@pagure.io' FROM_EMAIL = 'pagure@pagure.io'
{% endif %} {% endif %}
### The URL at which the project is available. ### The URL at which the project is available.
{% if env == 'staging' %} {% if env == 'pagure-staging' %}
APP_URL = 'https://stg.pagure.io/' APP_URL = 'https://stg.pagure.io/'
{% else %} {% else %}
APP_URL = 'https://pagure.io/' APP_URL = 'https://pagure.io/'

View file

@ -25,14 +25,14 @@ EMAIL_ERROR = 'pingou@pingoured.fr'
SMTP_SERVER = 'localhost' SMTP_SERVER = 'localhost'
### Email used to sent emails ### Email used to sent emails
{% if env == 'staging' %} {% if env == 'pagure-staging' %}
APP_URL = 'https://dev.pagure.io/' FROM_EMAIL = 'pagure@stg.pagure.io'
{% else %} {% else %}
FROM_EMAIL = 'pagure@dev.pagure.io' FROM_EMAIL = 'pagure@pagure.io'
{% endif %} {% endif %}
### The URL at which the project is available. ### The URL at which the project is available.
{% if env == 'staging' %} {% if env == 'pagure-staging' %}
APP_URL = 'https://dev.pagure.io/' APP_URL = 'https://dev.pagure.io/'
{% else %} {% else %}
APP_URL = 'https://pagure.io/' APP_URL = 'https://pagure.io/'