forked from MaxKorlaar/hypixel-signatures
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Envoy.blade.php
63 lines (51 loc) · 895 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
@include('vendor/autoload.php')
@setup
$dotenv = Dotenv\Dotenv::createImmutable(__DIR__);
$dotenv->load();
@endsetup
@servers(['web' => [$_ENV['DEPLOY_SSH']] ])
@story('full-deploy')
down
git
composer
optimize
node
build
up
@endstory
@story('simple-deploy')
git
optimize
build
@endstory
@finished
@discord($_ENV['LOG_DISCORD_WEBHOOK_URL'])
@endfinished
@task('optimize')
cd /var/www/nginx/hypixel-signatures
php artisan optimize
@endtask
@task('down')
cd /var/www/nginx/hypixel-signatures
php artisan down
@endtask
@task('up')
cd /var/www/nginx/hypixel-signatures
php artisan up
@endtask
@task('git')
cd /var/www/nginx/hypixel-signatures
git pull
@endtask
@task('composer')
cd /var/www/nginx/hypixel-signatures
composer install
@endtask
@task('node')
cd /var/www/nginx/hypixel-signatures
npm install
@endtask
@task('build')
cd /var/www/nginx/hypixel-signatures
npm run prod
@endtask