ci: 添加 Gitea Actions 示例工作流

- 新增 ci.yaml 文件,定义 Gitea Actions 示例
This commit is contained in:
hu xiaotong
2025-06-26 16:46:23 +08:00
parent ae7c922f8e
commit 55a94eb143

View File

@@ -26,7 +26,7 @@ jobs:
# 拉取代码使用token鉴权 # 拉取代码使用token鉴权
git clone --depth=1 -b "$BRANCH_NAME" "http://1c18ee1ab9a9cb291506d0c5c016a33be7d59e8c:x-oauth-basic@gitea.htoop.cn/${{ gitea.repository }}.git" . git clone --depth=1 -b "$BRANCH_NAME" "http://1c18ee1ab9a9cb291506d0c5c016a33be7d59e8c:x-oauth-basic@gitea.htoop.cn/${{ gitea.repository }}.git" .
if [ $? -ne 0 ]; then if [ $? -ne 0 ]; then
echo "❌ 代码检出失败" echo "❌ 代码检出失败1"
exit 1 exit 1
fi fi