- all environments:
- stash/revert all not commited changes,
- add and push new tag,
- clear local caches,
- generate assets using
assetic:dump --env=prod
command, - remove cache form
app/cache
dir, - temporarily change local
parameters.yml
to proper one, - pack
app
,public_html
,src
,vendor
dirs,.htaccess
andphp.ini
files from main dir, upload it and replace with existing ones, remember to copy data topublic_html
dir instead of replacing it, - make proper database migration (if manual, remember to add new migration versions to
migration_versions
table),
- stage:
- copy everything from
public_html
toprivate_html
, - uncomment first line in
.htaccess
inpublic_html
andprivate_html
, - optionally remove
.htaccess
andphp.ini
files from main dir.
- copy everything from