-
Notifications
You must be signed in to change notification settings - Fork 1
/
movefile.yml
111 lines (101 loc) · 2.86 KB
/
movefile.yml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
global:
sql_adapter: wpcli
local:
vhost: http://vhost.local
wordpress_path: /var/www/html # use an absolute path here
database:
name: database_name
user: user
password: "password" # could be blank, so always use quotes around
host: 127.0.0.1
production:
vhost: http://nuxt-wp-project.oops.jp
wordpress_path: /var/www/html # use an absolute path here
database:
name: database_name
user: user
password: password
host: host
# port: 3308 # Use just in case you have exotic server config
# mysqldump_options: '--max_allowed_packet=1G' # Only available if using SSH
# mysql_options: '--protocol=TCP' # mysql command is used to import db
exclude:
- '.git/'
- '.gitignore'
- '.gitmodules'
- '.env'
- 'node_modules/'
- 'bin/'
- 'tmp/*'
- 'Gemfile*'
- 'Movefile'
- 'movefile'
- 'movefile.yml'
- 'movefile.yaml'
- 'wp-config.php'
- 'wp-content/*.sql.gz'
- '*.orig'
# paths: # you can customize wordpress internal paths
# wp_content: wp-content
# uploads: wp-content/uploads
# plugins: wp-content/plugins
# mu_plugins: wp-content/mu-plugins
# themes: wp-content/themes
# languages: wp-content/languages
# ssh:
# host: host
# user: user
# password: password # password is optional, will use public keys if available.
# port: 22 # Port is optional
# rsync_options: '--verbose --itemize-changes' # Additional rsync options, optional
# gateway: # Gateway is optional
# host: host
# user: user
# password: password # password is optional, will use public keys if available.
# ftp:
# user: user
# password: password
# host: host
# passive: true
# port: 21 # Port is optional
# scheme: ftps # default `ftp`. alternative `sftp`
# hooks: # Remote hooks won't work with FTP
# push:
# before:
# local:
# - 'echo "Do something locally before push"'
# remote:
# - 'echo "Do something remotely before push"'
# after:
# local:
# - 'echo "Do something locally after push"'
# remote:
# - 'echo "Do something remotely after push"'
# pull:
# before:
# local:
# - 'echo "Do something locally before pull"'
# remote:
# - 'echo "Do something remotely before pull"'
# after:
# local:
# - 'echo "Do something locally after pull"'
# remote:
# - 'echo "Do something remotely after pull"'
# forbid:
# push:
# db: false
# plugins: false
# themes: false
# languages: false
# uploads: false
# mu-plugins: false
# pull:
# db: false
# plugins: false
# themes: false
# languages: false
# uploads: false
# mu-plugins: false
# staging: # multiple environments can be specified
# [...]