Skip to content

Commit 36c3400

Browse files
committed
Fix production gateway functions
Fixes the gateway so that `production` points to new production, and `old_production` points to old production.
1 parent 3cf46f2 commit 36c3400

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fabfile.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,15 @@ def help(name):
229229

230230
@task
231231
def production():
232-
"""Select production environment"""
232+
"""Select production migration environment"""
233233
env['environment'] = 'production'
234-
_set_gateway('production.alphagov.co.uk')
234+
_set_gateway('publishing.service.gov.uk')
235235

236236
@task
237-
def production_migration():
238-
"""Select production migration environment"""
237+
def old_production():
238+
"""Select production environment"""
239239
env['environment'] = 'production'
240-
_set_gateway('publishing.service.gov.uk')
240+
_set_gateway('production.alphagov.co.uk')
241241

242242
@task
243243
def staging():

0 commit comments

Comments
 (0)