Capistrano Multistage deploying to wrong directory

前端 未结 4 802
旧时难觅i
旧时难觅i 2020-12-29 08:47

Im having some problems with my capistrano setup after updating my gems lately. I have a multistage setup with a production and staging setup.

/config/deploy.rb

4条回答
  •  甜味超标
    2020-12-29 09:30

    Could be just the order you have it in your deploy.rb? put the require above the stage settings

    require 'capistrano/ext/multistage'
    
    # setup multistage
    set :stages, %w(testing production)
    set :default_stage, "testing"
    

提交回复
热议问题