The CI pipeline doesn't send to stg, so we're always in prod

Signed-off-by: Pierre-Yves Chibon <pingou@pingoured.fr>
This commit is contained in:
Pierre-Yves Chibon 2018-08-10 11:14:55 +02:00
parent 3ea858255a
commit 1a7af99d96

View file

@ -64,9 +64,6 @@ def main(msg):
pagure_url = 'https://src.fedoraproject.org'
env_var = 'API_TOKEN'
if '.stg.' in request:
pagure_url = 'https://src.stg.fedoraproject.org'
env_var = 'API_TOKEN_STG'
target_url = '/'.join([
'api',