Hello,
Curiously, restore/built is ran into the current directory instead of the release directory :
DEBUG [e702415b] Command: cd /var/www/mypath.com/current/CosmoPublicApi && /usr/bin/env dotnet restore
Here is my deploy.rb :
# config valid only for current version of Capistrano
lock '3.4.0'
set :application, 'ProjectName'
set :repo_url, 'git@bitbucket.org:project/project.git'
set :deploy_to, '/var/www/mypath.com'
set :dotnet_target_path, "#{release_path}/subpath"
I need /subpath because .Net core code is not at root of BB repo.
Thanks,
Gaëtan
Hello,
Curiously, restore/built is ran into the
currentdirectory instead of therelease directory:Here is my deploy.rb :
I need
/subpathbecause .Net core code is not at root of BB repo.Thanks,
Gaëtan