forked from banago/PHPloy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.ini
34 lines (32 loc) · 1.28 KB
/
deploy.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
26
27
28
29
30
31
32
33
34
; This is a sample deploy.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]
scheme = sftp
user = example
; When connecting via SFTP, you can opt for password-based authentication:
pass = password
; Or private key-based authentication:
pubkey = /path/to/public/key
privkey = /path/to/private/key
; If the private key is encrypted, you must also provide the passphrase:
keypass = passphrase
host = staging-example.com
path = /path/to/installation
port = 22
; Files that should be ignored and not uploaded to your server, but still tracked in your repository
skip[] = 'src/*.scss'
skip[] = '*.ini'
purge[] = "cache/"
purge[] = "/public_html/wp-content/themes/base/cache/"
[production]
quickmode = ftp://example:[email protected]:21/path/to/installation
passive = true
; Files that should be ignored and not uploaded to your server, but still tracked in your repository
skip[] = 'libs/*'
skip[] = 'config/*'
skip[] = 'src/*.scss'
purge[] = "cache/"
purge[] = "/public_html/wp-content/themes/base/cache/"