Closed grll closed 4 years ago
Deployer has the concept of shared_files, which is just a list of files that are to be shared between deployments. These shared files will exist in the shared "deploy path"/shared
on your server.
This formula lists app/etc/env.php
as one of them.
So what you want to do is to go to your server and replace the blank "deploy path"/shared/app/etc/env.php
file with yours.
The file that exists in "deploy path"/current/app/etc/env.php
is a symlink to the file mentioned above
Upon each the deployment a symlink to the shared file is created.
I see, thanks for the highlight I will dig into that
Thanks @dareenzo :D
Closing this issue
Hi I am trying to use your build artifacts deploy recipe.
1) Building step goes fine.
2) Sending and deploying:
bin/magento setup:upgrade
can't be run and gives me error because theenv.php
production file is not there.How do you set or specify the production
env.php
that must be use on the production server ?