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 stagingandproductionenvironments using GitHub Actions when pull requests are merged to yourstagingandmainbranches respectively.
On-Demand one-way sync database and assets from productiontostaging.
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 stagingorproduction.
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 stagingandproductionenvironments 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.