mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
As well rename test dir to tests, as Pest does not support dir without s on the end. Also, remove PHP requirement from composer.json as we already have check-in bin/dep and it's better to have the check only in one place (now they already out of sync).
27 lines
430 B
YAML
27 lines
430 B
YAML
import: recipe/common.php
|
|
|
|
config:
|
|
application: deployer
|
|
shared_dirs:
|
|
- uploads
|
|
- storage/logs/
|
|
- storage/db
|
|
shared_files:
|
|
- .env
|
|
- config/test.yaml
|
|
keep_releases: 3
|
|
http_user: false
|
|
|
|
hosts:
|
|
prod:
|
|
local: true
|
|
|
|
tasks:
|
|
deploy:
|
|
- deploy:prepare
|
|
- deploy:vendors
|
|
- deploy:publish
|
|
|
|
deploy:vendors:
|
|
script: 'cd {{release_path}} && echo {{bin/composer}} {{composer_options}} 2>&1'
|