0

I'm setting up the deployment process for my WordPress project.

So far, I have been instructed that Azure Release pipeline will be used, so when there is a push to the github project to main branch, the deployment will be triggered to App Engine in GCP.

But I'm having trouble figuring out what to do with the wp-config file, which contains credentials. This file should not be in github. But the file and credentials are needed in the production site.

In the past, I used VM to host the project, and here the wp-config file was deployed manually. Then, the automatic deployment only substituted/deployed the corresponding files. But this is something that cannot be done in App Engine or I can't understand how to do it. What would be the best approach?

AleJuliet
  • 83
  • 8
  • have you gone through stack overflow [link](https://stackoverflow.com/questions/46434270/how-to-ignore-files-when-running-gcloud-app-deploy)? – Badala Prashanth Feb 11 '22 at 09:41

0 Answers0