Skip to content

Commit 52896cc

Browse files
committed
minor
1 parent 5046856 commit 52896cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

handlers/tutorial/tasks/remoteUpdate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module.exports = function(options) {
101101
exec('ssh ' + host + ' "bash /tmp/check.sh"');
102102

103103
/* jshint -W106 */
104-
var env = ecosystem.apps[0].env_production;
104+
var env = ecosystem.apps[0]['env_' + args.host];
105105

106106
exec(`ssh ${host} "cd ${config.projectRoot} && SITE_HOST=${env.SITE_HOST} STATIC_HOST=${env.STATIC_HOST} gulp tutorial:cache:regenerate && gulp cache:clean"`);
107107
});

0 commit comments

Comments
 (0)