How to deploy a shared .env file #2559
Answered
by
viniciusbig
viniciusbig
asked this question in
Help needed
|
I'm using a cakephp recipe. Since its not there, deployer doesn't do anything even the file being listed in the recipe as How can I first deploy this file if it doesn't exist? Am I missing something? |
Answered by
viniciusbig
Jun 25, 2021
Replies: 2 comments 1 reply
|
Can you provide an example? |
1 reply
|
So, to give anyone else an answer here and close this question, a few thing I've found on this. tl;drFor Cake4 deploy
Deployer and Cake versions
Config files
So, talking about
|
0 replies
Answer selected by
viniciusbig
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So, to give anyone else an answer here and close this question, a few thing I've found on this.
tl;dr
For Cake4 deploy
config/app_local.phpto yourshared_filesshared/configand put yourconfig/app_local.phpand yourconfig/.envif you need it.Deployer and Cake versions
Config files
config/.env,config/app.php,config/app_local.phpconfig/.env,config/app_local.phpshould not be committed, each envir…