Yukii's Blog

Yet Another Tech Blog.

'capistrano' の一覧

Capistrano3 で revision を表示する

2019/02/21

desc 'Show deployed revision' task :revision do on primary :app do execute "cat #{Shellwords.shellescape(current_path)}/REVISION" end end を deploy.rb に追記したのちに bundle exec cap production revision

tags:  capistrano