forked from dwightwatson/neontsunami-laravel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenvoy.blade.php
More file actions
43 lines (37 loc) · 809 Bytes
/
envoy.blade.php
File metadata and controls
43 lines (37 loc) · 809 Bytes
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
@servers(['web' => 'forge@192.241.221.56'])
@task('deploy')
cd /home/forge/default
php artisan down
git pull origin {{ $branch or 'master' }} --force
composer install --no-dev --prefer-dist
gulp
php artisan config:cache
php artisan route:cache
php artisan up
@endtask
@task('stage')
cd /home/forge/default
git pull origin {{ $branch or 'develop' }}
composer install --no-dev --prefer-dist
php artisan up
@endtask
@task('up')
cd /home/forge/default
php artisan up
@endtask
@task('down')
cd /home/forge/default
php artisan down
@endtask
@task('migrate')
cd /home/forge/default
php artisan down
php artisan migrate
php artisan up
@endtask
@task('migrate:rollback')
cd /home/forge/default
php artisan down
php artisan migrate:rollback
php artisan up
@endtask