-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlazzier.conf.yml
50 lines (43 loc) · 1 KB
/
lazzier.conf.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
root_dir: '/var/www'
release_link: '/var/www/current'
releases_dir: '/var/www/releases'
package_format: 'tar+gz' # 'zip', 'tar'
install:
before:
- ArtisanDown
- task: CopyFile
args:
source: test.txt
target: new.txt
- task: ConsoleCmd
args:
command: 'ls -al /var/www'
- 'echo "Good Bye, World!"'
after:
- ArtisanUp
- 'echo "Hello World!"'
schedule:
- unpack_artifact
- copy_files:
- source: 'var/private/db-settings.php'
target: 'config/db.php'
- link_files:
- source: 'var/private/db-settings.php'
target: 'config/db.php'
- share_dirs:
- source: '/var/www/shared/images'
target: 'images'
- source: '/var/www/shared/logs'
target: 'logs'
- make_dirs:
- target: 'cache'
- customs:
- 'echo "foo bar baz!"'
- link_current
uninstall:
before:
- task: 'ArtisanDown'
- 'echo "Good Bye, World!"'
after:
- 'ArtisanUp'
- 'echo "Hello World!"'