deploy.rb 428 B

1234567891011121314
  1. # frozen_string_literal: true
  2. lock '3.10.2'
  3. set :repo_url, ENV.fetch('REPO', 'https://github.com/tootsuite/mastodon.git')
  4. set :branch, ENV.fetch('BRANCH', 'master')
  5. set :application, 'mastodon'
  6. set :rbenv_type, :user
  7. set :rbenv_ruby, File.read('.ruby-version').strip
  8. set :migration_role, :app
  9. append :linked_files, '.env.production', 'public/robots.txt'
  10. append :linked_dirs, 'vendor/bundle', 'node_modules', 'public/system'