File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 3
3
namespace Deployer ;
4
4
5
5
require 'recipe/common.php ' ;
6
- require 'vendor/studio24/deployer-recipes/all .php ' ;
6
+ require 'vendor/studio24/deployer-recipes/recipe/common .php ' ;
7
7
8
8
/**
9
9
* Deployment configuration variables - set on a per-project basis
40
40
*/
41
41
42
42
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 ' )
46
46
->set ('deploy_path ' ,'/srv/design-system.w3.org ' )
47
47
->set ('url ' , 'https://design-system.w3.org/ ' );
48
48
49
49
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 ' )
53
53
->set ('deploy_path ' ,'/srv/staging-design-system.w3.org ' )
54
54
->set ('url ' , 'https://staging-design-system.w3.org/ ' );
55
55
You can’t perform that action at this time.
0 commit comments