Skip to content

Commit ac95201

Browse files
committed
start fixing config for deployer 7
1 parent 0fc7c46 commit ac95201

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

deploy.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Deployer;
44

55
require 'recipe/common.php';
6-
require 'vendor/studio24/deployer-recipes/all.php';
6+
require 'vendor/studio24/deployer-recipes/recipe/common.php';
77

88
/**
99
* Deployment configuration variables - set on a per-project basis
@@ -40,16 +40,16 @@
4040
*/
4141

4242
host('production')
43-
->stage('production')
44-
->hostname('proteus.w3.internal')
45-
->user('studio24')
43+
->set('labels', ['stage' => 'production'])
44+
->set('hostname', 'proteus.w3.internal')
45+
->set('remote_user', 'studio24')
4646
->set('deploy_path','/srv/design-system.w3.org')
4747
->set('url', 'https://design-system.w3.org/');
4848

4949
host('staging')
50-
->stage('staging')
51-
->hostname('proteus.w3.internal')
52-
->user('studio24')
50+
->set('labels', ['stage' => 'staging'])
51+
->set('hostname', 'proteus.w3.internal')
52+
->set('remote_user', 'studio24')
5353
->set('deploy_path','/srv/staging-design-system.w3.org')
5454
->set('url', 'https://staging-design-system.w3.org/');
5555

0 commit comments

Comments
 (0)