Introducing Trellis GitHub Deployment.
Trellis GitHub Deployment
Automatically deploy your Trellis-based WordPress site to staging
and production
environments on merge to staging
and main
branches respectively, and keep plugins, themes, and WordPress core up to date with Dependabot.
Features
-
Automatic (or manual) deployment to
staging
andproduction
environments using GitHub Actions when pull requests are merged to yourstaging
andmain
branches respectively. -
On-Demand one-way sync database and assets from
production
tostaging
. - Maintains a history of GitHub Deployments and provides links to the current deployments in each environment.
-
Re-set deployment keys on-demand when you need to change who has access to
staging
orproduction
. - WordPress plugin, core, and theme updates managed with Dependabot.
- Optionally generates README.md with deployment status badges and setup instructions.
Optional Additional Workflows
Click to expand
- Sage 10 build test on pull request or on-demand (make sure your theme builds before you deploy it!).
-
Dry-run deployments to
staging
andproduction
environments on pull request or on-demand (confirm Trellis can deploy successfully without finalizing the deployment). - Eject WordPress site from Bedrock and Trellis and prepare database and assets for migration to traditional WordPress hosting.