Incremental deployment
After the initial deployment, incremental deployments are used to update code and configuration.
Steps:
Prepare the updated version locally:
- Apply code or configuration changes
-
Run:
composer install --no-dev
Copied!
Transfer only updated files to the server
Include:
public/
(excludingfileadmin/
,uploads/
)config/
vendor/
composer.
lock - etc.
Do not include dynamic or environment-specific files such as:
var/
,public/
, (these are managed on the server)fileadmin/
You can speed up the transfer using archive tools like zip or tar, or use rsync to copy only changed files.
If database changes are required:
- Run the Upgrade Wizard in the TYPO3 backend
- Or apply schema changes via CLI tools
Flush TYPO3 caches:
./vendor/bin/typo3 cache:flush
Copied!