说明#
Cloudflare Pages支持关联Gitlab,但是只能用于Gitlab.com。自建的Gitlab需要通过gitlab-ci来实现自动部署
Cloudflare Pages#
需要的变量
https://developers.cloudflare.com/workers/ci-cd/external-cicd/gitlab-cicd/
CLOUDFLARE_ACCOUNT_ID: Set to the Cloudflare account ID for the account on which you want to deploy your Worker.CLOUDFLARE_API_TOKEN: Set to the Cloudflare API token you generated.