Download the PHP package tombroucke/otomaties-deployer without Composer
On this page you can find all versions of the php package tombroucke/otomaties-deployer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download tombroucke/otomaties-deployer
More information about tombroucke/otomaties-deployer
Files in tombroucke/otomaties-deployer
Package otomaties-deployer
Short Description Deploy roots/bedrock & roots/sage to Combell, Runcloud.
License
Informations about the package otomaties-deployer
Otomaties Deployer
Installation
Options
Use dep deploy production --skip-ssl-verify to deploy a website without a SSL certificate
Example deploy.php file
Languages
Languages should be excluded from your git repo and installed during deploy with wp:install_languages.
Runcloud Hub
To clear the opcode cache on a runcloud server, you need to add cachetool_args. E.g.:
WordPress
WooCommerce
Extra commands
Initial setup
Symlink hosts on Combell
Create bedrock .env file
Enable basic auth on host:
Add repository authentication to remote server
GitHub Actions
Full setup in one command
Runs all steps below in order: deploy key, composer auth, Dependabot secrets, and basic auth (prompted if not in .env).
Set up deploy key and store as GitHub Actions secrets
If SSH keys on the host are managed in a hosting control panel (e.g. Combell) instead of ~/.ssh/authorized_keys, enable manual mode. The public key is printed so you can add it in the control panel, and the command waits for your confirmation before testing it. When you rotate the key, remove the old one from the control panel yourself.
Or for a single run:
Store composer auth.json as the COMPOSER_AUTH Actions secret
Store composer registry credentials as Dependabot secrets
Reads auth.json and sets <HOSTNAME>_USERNAME / <HOSTNAME>_PASSWORD as Dependabot secrets for each http-basic registry entry. Required for Dependabot to access private Composer registries.
Store basic auth credentials as the DEPLOY_BASIC_AUTH Actions secret
Security
Setup Wordfence firewall for Bedrock / deployer
Set default Wordfence configuration
You can overwrite the default config
Add .htaccess rules for security
Database handling
Pull database from production
Download database
Push database to staging
WordPress
WP CLI
Install packages
Flush Object Cache
Capabilities
Login
Set admin email
Upgrading
From v1.x to v2.x
There is a script included to automatically update from v1.x to v2.x. Require this script in your old deploy.php script, and we will try to fix the file automatically. Run dep after adding this line.
All versions of otomaties-deployer with dependencies
vlucas/phpdotenv Version ^5.4
deployer/deployer Version ^8.0
illuminate/support Version *