How to deploy a shared .env file #2559
-
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? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Can you provide an example? |
Beta Was this translation helpful? Give feedback.
-
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
|
Beta Was this translation helpful? Give feedback.
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.php
to yourshared_files
shared/config
and put yourconfig/app_local.php
and yourconfig/.env
if you need it.Deployer and Cake versions
Config files
config/.env
,config/app.php
,config/app_local.php
config/.env
,config/app_local.php
should not be committed, each envir…