forked from banago/PHPloy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphploy.ini
25 lines (23 loc) · 865 Bytes
/
phploy.ini
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
; This is a sample phploy.ini file. You can specify as many
; servers as you need and use normal or quickmode configuration.
;
; NOTE: If a value in the .ini file contains any non-alphanumeric
; characters it needs to be enclosed in double-quotes (").
[staging]
quickmode = ftp://example:[email protected]:21/path/to/installation
exclude[] = 'src/*'
include[] = "dist/app.css"
[production]
scheme = sftp
host = staging-example.com
path = /path/to/installation
port = 22
user = example
pass = password
exclude[] = 'src/*'
include[] = "dist/app.css"
purge[] = "cache/"
pre-deploy[] = "wget -q -O - http://staging-example.com/pre-deploy/test.php"
post-deploy[] = "wget -q -O - http://staging-example.com/post-deploy/test.php"
pre-deploy-remote[] = "whoami"
post-deploy-remote[] = "date"