forked from openclassify/openclassify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnvoy.blade.php
62 lines (52 loc) · 1.1 KB
/
Envoy.blade.php
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
@servers(['web' => '[email protected] -p 22400'])
@task('update', ['on' => 'web'])
cd /home/yoursite
php /usr/bin/composer update -o --no-dev
php artisan migrate --all-addons --force
php artisan migrate --force
@endtask
@task('pull', ['on' => 'web'])
cd /home/yoursite
git pull
@endtask
@task('migrate', ['on' => 'web'])
cd /home/yoursite
php artisan migrate --all-addons --force
php artisan migrate --force
@endtask
@task('compile', ['on' => 'web'])
cd /home/yoursite
php artisan streams:compile
@endtask
@task('clear', ['on' => 'web'])
cd /home/yoursite
php artisan httpcache:clear
php artisan assets:clear
php artisan cache:clear
php artisan route:clear
php artisan view:clear
php artisan twig:clear
@endtask
@task('install', ['on' => 'web'])
cd /home/yoursite
php artisan addon:install {{$addon}}
@endtask
@task('uninstall', ['on' => 'web'])
cd /home/yoursite
php artisan addon:uninstall {{$addon}}
@endtask
@task('reinstall', ['on' => 'web'])
cd /home/yoursite
php artisan addon:reinstall {{$addon}}
@endtask
@macro('push')
pull
clear
migrate
@endmacro
@macro('deploy')
push
update
compile
clear
@endmacro