Jake Martin
Jake Martin

Reputation: 11

Google Cloud App Engine : Custom WordPress theme and plugins missing

Following this official guide and using the flex environment with php 7.2, I am trying to deploy to App Engine with custom plugins and themes.

These themes are not available on wppackagist, given that they are truly custom to my project.

My git repo is correctly saving the custom plugins and themes -- all composer.json based wppackagist plugins are being installed as intended.

However, for the life of me, I cannot get the deploy to include my custom files. I have additionally verified that the image uploaded to AE is the correct version, and it has been promoted to serve all traffic as intended.

Can anyone help me understand the logic that I am missing to ensure that when I deploy my app that the custom plugins and themes are built into the image?

Upvotes: 0

Views: 192

Answers (1)

Jake Martin
Jake Martin

Reputation: 11

So the answer is to not change the app output folder. Via the CLI install helper, I defined the output folder to wp_app -- it still anticipated app as the folder. Nothing was in the app folder when I created the service as wp_app being the WordPress folder. So, just keep the folder structure as-is and you will be fine.

Upvotes: 1

Related Questions