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

Add common commands to deploy hook #50

Open
gilzow opened this issue Feb 9, 2023 · 0 comments
Open

Add common commands to deploy hook #50

gilzow opened this issue Feb 9, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gilzow
Copy link
Contributor

gilzow commented Feb 9, 2023

What in this template can be improved or added as a feature?

during a deploy we should go ahead and attempt a cache flush, db update, and run crons that are due as any/all of those items may have been affected during the build.

What exactly should be updated?

    deploy: |
        wp cache flush
        wp core update-db
        wp cron event run --due-now

How important is this feature to you?

it'll be one less things user need to deal with

Additional context

No response

@gilzow gilzow added the enhancement New feature or request label Feb 9, 2023
@gilzow gilzow self-assigned this Feb 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant