Update default github repository path

This commit is contained in:
KMY 2023-05-12 17:42:59 +09:00
parent 72c8f18458
commit f84a002675
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
lock '3.17.2' lock '3.17.2'
set :repo_url, ENV.fetch('REPO', 'https://github.com/mastodon/mastodon.git') set :repo_url, ENV.fetch('REPO', 'https://github.com/kmycode/mastodon.git')
set :branch, ENV.fetch('BRANCH', 'main') set :branch, ENV.fetch('BRANCH', 'main')
set :application, 'mastodon' set :application, 'mastodon'

View file

@ -33,7 +33,7 @@ module Mastodon
end end
def repository def repository
ENV.fetch('GITHUB_REPOSITORY', 'mastodon/mastodon') ENV.fetch('GITHUB_REPOSITORY', 'kmycode/mastodon')
end end
def source_base_url def source_base_url

View file

@ -109,7 +109,7 @@ describe InstancePresenter do
end end
it 'defaults to the core mastodon repo URL' do it 'defaults to the core mastodon repo URL' do
expect(instance_presenter.source_url).to eq('https://github.com/mastodon/mastodon') expect(instance_presenter.source_url).to eq('https://github.com/kmycode/mastodon')
end end
end end
end end