How to Configure Capistrano to Deploy from Local Git Repository?

后端 未结 6 2039
别跟我提以往
别跟我提以往 2021-01-30 03:25

What changes do I need to make to the deploy.rb file below to make it deploy my app from a local git repo? If I can\'t deploy from a local repo, can I have capistra

6条回答
  •  盖世英雄少女心
    2021-01-30 03:32

    set :repository, 'file:///path/to/your/git_repository'
    set :local_repository, "file://."
    set :scm, :git
    # set :deploy_via, :copy # you must comment it
    

提交回复
热议问题