EXPERIMENTAL This toolkit is still experimental - create backups of remote host before using it!
Currently only deployment from local DDEV to remote SSH server is supported
composer req --dev oliver-hader/typo3-deployer- copy
deploy.dist.phpto project root directory asdeploy.php - copy
.host.dist.ymlto project root directory as.host.yml - ensure
.host.ymlis NOT added to public Git repository (add to.gitignorefile) - adjust
.host.ymlinventory file (see https://deployer.org/docs/hosts.html#inventory-file)- special
typo3property allow to define TYPO3 specific settings typo3/settingsis merged with$TYPO3_CONF_VARStypo3/databaseChangesallows to modify remote database records (e.g. change admin password)- string prefix
::password-hash::will lead to apply password hash to value (hardcoded to Argon2i currently) - string prefix
::random-value::will lead to 64 random bytes being applied as hex characters
- special
Example execution (assumed that production stage is configured in .host.yml)
vendor/bin/dep deploy production