From 82d81daf0fcf64c1ec6b116d03a080cd548175fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= Date: Thu, 10 Oct 2024 14:00:11 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20README.md=EF=BC=8C?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20Gitea=20=E4=BB=93=E5=BA=93=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E7=9A=84=E5=BC=95=E7=94=A8=E5=92=8C=20docker-compose.?= =?UTF-8?q?yml=20=E7=9A=84=E6=8A=98=E5=8F=A0=E9=83=A8=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 72c1389..b5d51fb 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,9 @@ - GitHub 需要 https://developer.mend.io 里设置。 -### Gitea 仓库配置 +### Gitea 仓库配置[^1] + -https://docs.renovatebot.com/modules/platform/gitea 1. 创建一个`Gitea`的账号。 https://git.1-h.cc/admin/users/new 2. 创建该账号的`Personal Access Token`。 https://git.1-h.cc/user/settings/applications 3. 到仓库的 https://git.1-h.cc/examples/renovate/settings/collaboration 里增加该账号为协作者。 @@ -15,8 +15,10 @@ https://docs.renovatebot.com/modules/platform/gitea #### 启动 Renovate +
+docker-compose.yml + ```yaml -name: renovate services: git.1-h.cc: # docker exec -it renovate-git.1-h.cc-1 docker-entrypoint.sh renovate @@ -38,10 +40,14 @@ services: image: renovate/renovate:38 command: -c "while true; do docker-entrypoint.sh renovate; sleep 8h; done" ``` +
### 配置参考 +- https://gitea.com/gitea/renovate-config - https://github.com/vuejs/create-vue/blob/main/renovate.json - https://github.com/unjs/renovate-config/blob/main/default.json -- https://docs.renovatebot.com/config-presets/#fetching-presets-from-an-http-server \ No newline at end of file +- https://docs.renovatebot.com/config-presets/#fetching-presets-from-an-http-server + +[^1]: [Gitea and Forgejo](https://docs.renovatebot.com/modules/platform/gitea) \ No newline at end of file