[personal-wp] Add deployment workflow for my.wordpress.net#3184
Conversation
b23d1a6 to
fd2279d
Compare
c5ada0d to
a856cfa
Compare
fd2279d to
6052dea
Compare
a856cfa to
1e68842
Compare
6052dea to
3b7848e
Compare
1e68842 to
c4f4aa2
Compare
3b7848e to
33cfd44
Compare
c4f4aa2 to
83320f7
Compare
33cfd44 to
402a634
Compare
83320f7 to
70fb69c
Compare
1bc7150 to
7a8bedd
Compare
70fb69c to
0a87ca1
Compare
brandonpayton
left a comment
There was a problem hiding this comment.
This looks good to me, @akirk!
As part of reviewing this PR, I created the my-wordpress-net-wp-cloud environment and configured its secrets and variables.
When you are ready, we can trigger a deploy using this PR branch. Once we are done testing and ready to merge, we can add branch protections to this new GH Actions environment so deploys can only come from trunk.
|
|
||
| on: | ||
| workflow_dispatch: | ||
| # Deploy every Tuesday at 11am UTC (same as main website) |
There was a problem hiding this comment.
What if we delayed this deployment one day to give any problems a chance to shake out with playground.wordpress.net? my.wordpress.net may be more personal to folks, and it might be good to shelter it from the risk of new deployments by letting playground.wordpress.net go first. What do you think?
There was a problem hiding this comment.
Yes, lets do that!
@copilot let's move it to Wednesday.
There was a problem hiding this comment.
Ok, I'll do this myself. I don't think a new PR is necessary :)
Adds GitHub Actions workflow and build target to deploy the personal-wp package to my.wordpress.net. - Add `build:my-wordpress-net` target that combines playground-remote and playground-personal-wp into a single deployable package - Add deployment workflow that builds and deploys via rsync/SSH - Reuses existing website-deployment/ scripts for server configuration - Update README with Personal Playground features and deployment docs
Co-authored-by: Brandon Payton <brandon@happycode.net>
9f8eaa3 to
41ba1a3
Compare
Motivation for the change, related issues
Adds deployment infrastructure for the Personal Playground at my.wordpress.net, as part of the Personal Playground initiative tracked in #3174.
Personal Playground is a user-focused version of WordPress Playground that provides a simpler experience for end users who want their own persistent WordPress site in the browser.
Implementation details
New deployment workflow (
.github/workflows/deploy-my-wordpress-net.yml):playground-personal-wppackagewebsite-deployment/scripts (no duplication needed)my-wordpress-net-wp-cloudwith deployment secretsUpdated README (
packages/playground/personal-wp/README.md):Required setup before first deployment:
my-wordpress-net-wp-cloudDEPLOY_MY_WORDPRESS_NET_HOST_KEYDEPLOY_MY_WORDPRESS_NET_PRIVATE_KEYDEPLOY_MY_WORDPRESS_NET_USERDEPLOY_MY_WORDPRESS_NET_HOSTCORS_PROXY_URLvariableTesting Instructions (or ideally a Blueprint)
npx yaml-lint .github/workflows/deploy-my-wordpress-net.ymlnpx nx build playground-personal-wp