This commit is contained in:
guange 2015-10-18 13:50:59 +08:00
parent b80a0d6366
commit 07084a94c5
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ namespace :gitlab do
task :projects => :environment do
s = Trustie::Gitlab::Sync.new
Project.where(id: ENV["PROJECT_ID"]).find_each do |project|
s.sync_project(project, path: 'trustie', import_url: 'http://xianbo_trustie2:1234@repository.trustie.net/xianbo/trustie2.git')
s.sync_project(project, path: ENV["REP_NAME"], import_url: project.repository.url)
end
end