deploy.rb 428 Bytes
Newer Older
1 2
# frozen_string_literal: true

3
lock '3.11.2'
4

5 6
set :repo_url, ENV.fetch('REPO', 'https://github.com/tootsuite/mastodon.git')
set :branch, ENV.fetch('BRANCH', 'master')
7 8 9 10 11 12

set :application, 'mastodon'
set :rbenv_type, :user
set :rbenv_ruby, File.read('.ruby-version').strip
set :migration_role, :app

13
append :linked_files, '.env.production', 'public/robots.txt'
14
append :linked_dirs, 'vendor/bundle', 'node_modules', 'public/system'