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

Optimize Deployment to WordPress.org #1148

Open
kevinfodness opened this issue Jul 2, 2024 · 0 comments
Open

Optimize Deployment to WordPress.org #1148

kevinfodness opened this issue Jul 2, 2024 · 0 comments
Labels
ci/cd PR checks, deploys, automation enhancement New feature or request

Comments

@kevinfodness
Copy link
Member

Description

We should eliminate the develop-built branch workflow and instead build assets as we are deploying to WordPress.org:

  1. Remove the .deployignore file in favor of the .distignore file
  2. Change the configuration for tagging a release to not use a -built branch and not build assets at all, and instead just tag develop at the proper point in time; this step should also not use the .distignore file, since we need those files to be present
  3. Change the configuration for the push to WordPress.org so that it builds the assets before pushing

Use Case

We should be able to push content to WordPress.org on demand, and should be able to have the asset build process only build assets when pushing instead of storing them in the repo in a built branch.

@kevinfodness kevinfodness added enhancement New feature or request ci/cd PR checks, deploys, automation labels Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/cd PR checks, deploys, automation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant