-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploy.yaml
48 lines (41 loc) · 1.06 KB
/
deploy.yaml
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
import:
- recipe/laravel.php
config:
repository: '[email protected]:beardcoder/elke-sommer.de.git'
branch: main
git_ssh_command: ssh
composer_options: ' --no-dev --verbose --prefer-dist --no-progress --no-interaction --optimize-autoloader'
keep_releases: 2
hosts:
host.letsbenow.de:
remote_user: markus
deploy_path: '~/html/elke-sommer.de'
tasks:
deploy:
- deploy:info
- deploy:setup
- deploy:lock
- deploy:release
- deploy:update_code
- deploy:shared
- deploy:vendors
- artisan:storage:link
- artisan:view:cache
- artisan:config:cache
- artisan:route:cache
- artisan:event:cache
- artisan:migrate
- artisan:responsecache
- npm:install
- npm:build
- deploy:publish
npm:install:
- run: 'cd {{release_path}} && npm install --prefer-offline --no-audit --progress=false'
npm:build:
- run: 'cd {{release_path}} && npm run build'
artisan:responsecache:
- run: 'cd {{release_path}} && php artisan responsecache:clear'
build:
- run: uptime
after:
deploy:failed: deploy:unlock