forked from luyadev/luya-kickstarter-bootstrap4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeploy.php
More file actions
26 lines (21 loc) · 712 Bytes
/
Copy pathdeploy.php
File metadata and controls
26 lines (21 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php
require 'vendor/luyadev/luya-deployer/luya.php';
// DEV environment
server('dev', 'server.tld', 22)
->user('username')
->password('password')
->stage('dev')
->env('deploy_path', '/path/to/dev/project/public_html');
// Preproduction environment
server('prep', 'server.tld', 22)
->user('username')
->password('password')
->stage('prep')
->env('deploy_path', '/path/to/prep/project/public_html');
// Production environment
server('prod', 'server.tld', 22)
->user('username')
->password('password')
->stage('prod')
->env('deploy_path', '/path/to/prod/project/public_html');
set('repository', 'https://user:password@github.com/organisation/repository.git');