-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathEnvoy.blade.php
41 lines (35 loc) · 976 Bytes
/
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
@servers(['production' => 'legendaries@sapphire.tooblue.org', 'localhost' => '127.0.0.1'])
@macro('deploy')
down
update
rsync
up
@endmacro
@task('up', ['on' => 'production'])
cd ~/apps/legendaries
php artisan up
@endtask
@task('down', ['on' => 'production'])
cd ~/apps/legendaries
php artisan down
@endtask
@task('update', ['on' => 'production'])
cd ~/apps/legendaries
git pull origin master
composer install --no-dev
composer update --no-dev
php artisan migrate
@endtask
@task('rsync', ['on' => 'localhost'])
gulp --production
rsync -azP public/js legendaries@sapphire.tooblue.org:~/apps/legendaries/public
rsync -azP public/css legendaries@sapphire.tooblue.org:~/apps/legendaries/public
@endtask
@task('init', ['on' => 'localhost'])
php artisan key:generate
composer install
composer update
npm install --no-bin-links
npm update --no-bin-links
php artisan migrate --seed
@endtask