-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.lagoon.yml
39 lines (34 loc) · 961 Bytes
/
.lagoon.yml
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
#
# This file is autogenerated by Laragoon
#
docker-compose-yaml: ./lagoon-docker-compose.yml
project: laravel10
tasks:
post-rollout:
- run:
name: Prepare Storage
command: mkdir -p /app/storage/framework/sessions /app/storage/framework/views /app/storage/framework/cache /app/storage/framework/cache/data
service: cli
shell: bash
- run:
name: env
command: echo hi
service: cli
shell: bash
- run:
name: Run migrations
command: php artisan -n migrate --force
service: cli
shell: bash
- run:
name: Clear Caches
command: php artisan -n cache:clear && php artisan -n route:clear && php artisan -n view:cache
service: cli
shell: bash
# environments:
# master:
# cronjobs:
# - name: artisan schedule
# schedule: "* * * * *"
# command: cd /app && php artisan schedule:run
# service: cli