You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I'd like to deploy into multiple folders on one server #3844
Hi, I have a server and I need to deploy multiple isntances of my project with different configurations for each instance. So anotherwords I need my /var/www directory to look a bit like:
forms
fudge
site1
current
releases
shared
site2
current
releases
shared
My current deploy.php file looks like:
<?phpnamespaceDeployer;
require'recipe/common.php';
require'contrib/npm.php';
require'deploy/recipe/fudge-nuxt.php';
// Project repositoryset('repository', 'git@application-fudge:company/application-fudge.git');
// Shared files/dirs between deploysadd('shared_files', ['.env', 'brand-theme.scss']);
// Set number of releases to keepset('keep_releases', 2);
// Writable dirs by web serverset('allow_anonymous_stats', false);
// Site: Fudgehost('my-ip')
->set('labels', ['stage' => 'forms'])
->set('repository', 'git@application-fudge:company/application-fudge')
->set('branch', 'feature/fudge_v2')
->set('remote_user', 'root')
->set('deploy_path', '/var/www/forms/fudge/site1');
after('deploy:update_code', 'npm:install');
after('npm:install', 'deploy:vendors');
after('deploy:writable', 'nuxt:generate');
after('deploy:failed', 'deploy:unlock');
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.
Activity