- Many variables have been renamed for consistency and some have been removed since they are no longer used
server
have been replaced withssh_host
andssh_user
deploy_to
have been replaced withdeploy_path
assets_path
have been added and default to the root of the projectrepo_url
have been renamed torepository_url
repo_branch
have been removedcopied_files
have been addedcopied_dirs
have been addedtmp_dir
have been removedcmd_*
have been added with their respective defaults
- Most of the tasks and macros have been renamed, reorganized and cleaned up
- The git repository is now cloned as a bare repository in a different directory (
repository
instead ofrepo
) - The directory
repo
is removed if it exists when running thesetup
- SSH
StrictHostKeyChecking
is now enforced when using git over ssh - Drop support for
git submodules
and repository sub-tree - New release is now created using git workspace instead of being copied with rsync
- Files and directory can now be copied from the previous release to the new release using
copied_files
andcopied_dirs
- Yarn, npm and composer are now invoke in less verbose mode
- Composer now have the
--no-dev
option by default - Drop support for bower and grunt
- Assets are now built in their own step (
deploy:build
)
Upgrade this package with composer: composer require --dev exolnet/laravel-envoy:"^1.0"
Update the following in your config/deploy.php
file:
- Replace
server
withssh_host
andssh_user
- Rename
deploy_to
todeploy_path
- Rename
repo_url
torepository_url
- Remove
repo_branch
- Remove
tmp_dir
Update the following in your Envoy.blade.php
file:
- Replace
@include(...)
with@import('exolnet/laravel-envoy')
- If a pre-deployment backup is performed, move it in
@task('deploy:backup')
- Remove any commands for building assets or override
@task('deploy:build')
- Move any publishing/post-deployment commands in
@task('deploy:publish')
- Run
vendor/bin/envoy run setup
to setup the bare git repository - Run
vendor/bin/envoy run deploy --commit=abcdef
to commitabcdef