Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Rebuild WordPress every day #502

Closed
adamziel opened this issue Jun 2, 2023 · 1 comment
Closed

CI: Rebuild WordPress every day #502

adamziel opened this issue Jun 2, 2023 · 1 comment

Comments

@adamziel
Copy link
Collaborator

adamziel commented Jun 2, 2023

Playground uses a bundled version of WordPress, which means it needs to periodically update it to keep up with new releases (especially the Beta releases).

Building a bundle involves running a command with a specific version:

nx compile-wordpress playground-remote --preset=5.9

Let's:

  • Add a blanket command npm run compile-wordpress
  • Run it using a scheduled GitHub Action
  • Commit the result to the repo

Ideally the action would short-circuit if the latest WordPress version hasn't changed since the last run.

Then, once playground.wordpress.net can be automatically deployed, let's deploy it whenever a new bundle is committed.

@adamziel
Copy link
Collaborator Author

Shipped in #572

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant