deploying with capistrano with remote git repo but without git running on production server

前端 未结 2 1482
轮回少年
轮回少年 2021-02-03 11:58

I have a remote git repository setup for centralized development within my team. However, the production server that we deploy our applications currently does not have git runni

2条回答
  •  失恋的感觉
    2021-02-03 12:30

    Have you tried something like

    set :repository, "myserver.com/git/#{application}"
    set :scm, :none
    set :deploy_via, :copy
    

    I've never tried this, but this seems to be the sort of approach you would need to go about using. A little more insight in the Capistrano RDocs.

提交回复
热议问题