Commit 0d056579 authored by nanahira's avatar nanahira

fix

parent b1c20ec0
Pipeline #33680 passed with stages
in 53 seconds
......@@ -35,3 +35,5 @@
### 上传进度
系统每 10 分钟处理一次卡片整合。你可以在 [这里](https://code.moenext.com/alstroemeria-silentlove/ygopro-custom-free/pipelines) 查看当前处理的进度,可以在 [这里](https://code.moenext.com/alstroemeria-silentlove/ygopro-custom-free/pipeline_schedules) 查看下次运行的时间。
如果你刚刚获得批准加入仓库,那么你的仓库会被立即处理。
......@@ -14,6 +14,12 @@ CURRENT_TIME=$(date +%s)
process_repo() {
repo_url="$1"
# check if it's empty, or begins with a #, which is a comment
if [ -z "$repo_url" ] || [[ "$repo_url" == \#* ]]; then
return
fi
repo_name="$(basename $repo_url | sed 's/.git$//')"
user_name="$(basename "$(dirname "$repo_url")")"
repo_identifer="$user_name-$repo_name"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment