gregsimsic / deployer-recipes
Deployer recipes
0.7.4
2020-04-21 20:58 UTC
Requires (Dev)
- deployer/deployer: 6.4.5
This package is not auto-updated.
Last update: 2023-03-22 13:23:27 UTC
README
Features
- Deploy site (atomic and non)
- Sync uploads
- Pull/push MySql databases to/from remotes and local
Requirements
Installation
run composer require gregsimsic/deployer-recipes
.
Make sure to include recipe files in your deploy.php
:
require 'vendor/gregsimsic/deployer-recipes/recipes/db.php';
Configuration
Edit the deploy.yml. See examples in /lib/yamls.
Available tasks
Push database : dep db:push prod
Pull database : dep db:pull prod
Rsync files up--choose from list: dep sync:up
Rsync files down--choose from list: dep sync:down
Rsync all files up: dep sync:down
References
Craft
- https://gist.github.com/mtwalsh/fce3c4aa416996e5900e8ac9f471dd6c
- https://www.enovate.co.uk/blog/2018/07/23/atomic-deployment-with-deployer
Laravel
General
- https://antonydandrea.com/deploying-with-deployer/
- https://medium.com/@Alibaba_Cloud/automating-your-php-application-deployment-with-php-deployer-b00c1dc64d4a https://codereviewvideos.com/course/deployer-easy-php-deployment/video/running-your-first-deployer-deploy
Shared server deployment
- https://discourse.roots.io/t/heres-deployer-recipes-to-deploy-bedrock/9896
- https://github.com/FlorianMoser/plesk-deployer