-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.mage.yml
40 lines (40 loc) · 1.02 KB
/
.mage.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
40
magephp:
log_dir: ./.mage/logs
composer:
path: composer
exclude:
- ./.ddev
- ./.git
- ./.github
- ./.vscode
- ./.gitattributes
- ./.gitignore
- ./.mage
- ./.env
- ./.mage.yml
- ./var
- ./.php_cs.cache
- ./.php-cs-fixer.dist.php
- ./.phpunit.result.cache
- ./auth.json
- ./phpunit.xml.dist
- ./tests
environments:
main:
user: prod.docs.typo3.com
from: ./
host_path: /srv/vhosts/prod.docs.typo3.com/site/applications/search/mage
releases: 3
hosts:
- prod.docs.typo3.com
pre-deploy:
- exec: { cmd: "echo \"APP_ENV=prod\" >> .env" }
- composer/install: { flags: "--no-interaction --no-dev --optimize-autoloader --ansi" }
on-deploy:
- fs/link: { from: "../../../shared/.env", to: ".env" }
on-release:
post-release:
- exec: { cmd: "bash ../../../cachetool/run.sh" }
- symfony/cache-clear: { env: 'prod' }
- symfony/cache-warmup: { env: 'prod' }
post-deploy: