这是indexloc提供的服务,不要输入任何密码
Skip to content

Restore/built is run into the current dir #2

@gallart

Description

@gallart

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions