Repository navigation
Conversation
Pushes to dev, staging or production build the site and rsync it to the matching WP Engine install. Build steps move to a build-site composite action shared by the PR check and the deploy. The starter's demo-site deploy moves to deploy-starter.yaml and its Composer script tests to starter-tests.yaml. create-project removes both, along with tests/ and phpunit.xml.dist, so generated projects keep only the WP Engine deploy and a build check that passes. Deployment docs live in docs/deployment.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FDZroxqnut3VBpPCvW7j9Q
build-site takes PHP from .ddev/config.yaml's php_version, the way Node comes from .nvmrc, so CI matches each project's DDEV and host without a second pin. db-sync's SSH checklist now refers to the deploy user's key. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FDZroxqnut3VBpPCvW7j9Q
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports the WP Engine branch deploys from WebsterRenold (websterrenold#28) so new projects ship with them.
dev,stagingorproductionbuilds the site and rsyncs it to the WP Engine install for that branch inwpengine.conf.build-sitecomposite action. The PR check and the deploy both use it.deploy-starter.yaml, and the Composer script tests are their ownstarter-tests.yamlworkflow.create-projectremoves both, plustests/andphpunit.xml.dist. The tests job was failing on every PR in generated projects since they have no rootcomposer.json.WPE_INSTALL_prodis nowWPE_INSTALL_productionso the branch, GitHub environment and config key all match.docs/deployment.md, linked fromREADME.dist.md.build_deploy.yaml) we've been copying between WPE projects. It rsyncs over the SSH Gateway with WP Engine's own deploy action, lets a running deploy finish, and clears cache over SSH with the same deploy key.build-sitereads the PHP version from.ddev/config.yaml'sphp_version, same as Node from.nvmrc. WebsterRenold pins 8.4 in the action.deploy.yamlso a manual run from any other branch doesn't create a stray GitHub environment.Issues
Testing Instructions
composer create-projectfrom this branch and confirmdeploy-starter.yaml,starter-tests.yaml,release.yaml,tests/andphpunit.xml.distare gone, anddeploy.yaml,build.yaml,.github/actions/build-site/anddocs/deployment.mdreference the project's theme slug.Screenshots
N/A
🤖 Generated with Claude Code
https://claude.ai/code/session_01FDZroxqnut3VBpPCvW7j9Q