mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-02 19:30:48 +08:00
change bugs
This commit is contained in:
@@ -6,6 +6,8 @@ class SyncRepositoryJob < ApplicationJob
|
||||
def perform(repository, repository_params, gitea_main)
|
||||
#创建临时文件夹 clone 并强推代码
|
||||
SyncLog.sync_log("=================begin to sync request trustie repository=====================")
|
||||
SyncLog.sync_log("=================begin to sync repository_params:==#{repository_params}===================")
|
||||
SyncLog.sync_log("=================repository_url:==#{repository_params[:url]}===================")
|
||||
path = "#{Rails.root}/public/cache_repository"
|
||||
unless File.directory?(path)
|
||||
FileUtils.mkdir_p(path)
|
||||
|
||||
Reference in New Issue
Block a user