Skip to content

Automate staging and production WP_HOST on kinsta #244

@oxyc

Description

@oxyc

This would be useful so you can freely backup and restore between the environments.

I've inquired from Kinsta and there's no environment variable set up. They have WP_ENVIRONMENT_TYPE set in nginx but that wouldnt work with CLI tasks so not usable. On non-bedrock stacks they create the wp-config.php. Only way I see is to sniff the hostname and see if it contains the word staging but that's not ideal.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions