-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.lagoon.yml
More file actions
34 lines (31 loc) · 904 Bytes
/
.lagoon.yml
File metadata and controls
34 lines (31 loc) · 904 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
docker-compose-yaml: ./docker-compose.yml
project: laravel-example-simple
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
- run:
name: Run migrations
command: php artisan migrate --force
service: cli
- run:
name: Run config:clear
command: php artisan config:clear
service: cli
- run:
name: Run config:cache
command: php artisan config:cache
service: cli
- run:
name: Run optimize
command: php artisan optimize
service: cli
# environments:
# prod:
# cronjobs:
# - name: artisan schedule
# schedule: "* * * * *"
# command: cd /app && php artisan schedule:run
# service: cli