I am currently working with colleagues on a small webapp that is based on PHP and a database.
We have set up a workflow where every push to the master branch copies the repository to our test webserver.
Until now we have always worked with ZIP files and email - now that is automated and simplified but now we fail because the secrets do not work as we want them to.
We don’t want to store the real database accesses, but rather a variable that is replaced by the real credential when it is delivered to the web server, so that the web server gets a running webapp while there is no critical data in the repository.
Is there a way to automate this or do we have to upload manually again?
Thank you very much in advance!