I have developed a Laravel app locally and push the app to my server via GitHub Action. On the server, I still have to adapt the .env.template
, as the .env
does not belong in the repository.
Question: Do I have to regenerate the Laravel app key in production or staging or use the one from local? If not, I would also copy the key into the .env.template or .env exampel.