跳到主要内容

Gitlab

注意

根据 GitLab 的服务条款,你不允许使用 GitLab 的服务器进行内容分发。你必须搭建自己的 GitLab 服务器。

https://handbook.gitlab.com/handbook/legal/acceptable-use-policy/

We refer to “our services” throughout – this means all services (including related websites) owned or operated by GitLab.

  1. So our services, and those of others, run securely, and without disruption, you must not:

Do anything to compromise, overburden, or otherwise impair our services or those of others, including using our services to mine or demonstrate proof-of-work for a cryptocurrency or blockchain, or for the primary purpose of distributing content.

为避免改变法律条款的原意,以上内容保留英文原文。

resource-pack:
packs:
default:
default: true
type: gitlab
gitlab_url: ""
access_token: ""
project_id: ""
# 可选选项
use_environment_variables: false # 是否使用环境变量提供机密信息,默认为 false

填写参数后执行 /ce reload host,上传和发送见工作流

  • CE_GITLAB_ACCESS_TOKEN