GitLab

自訂網域 with cloudflare

STEP 1. Add DNS Record (CNAME)

add dns record

STEP 2. Generate your certificate

Copy the PEM certificate and the private key from cloudflare

設定 > 頁面 > + New Domain

Enabled

add-certificate-to-pages

STEP 3. Copy CloudFlare's Origin CA — RSA Root

CloudFlare doesn't combine both PEM and root certificates in one.

like:

add-intermediate-certificate

STEP 4. Set DNS Record (TXT) for verification

cloudflare-txt

STEP 5. Finally

success

使用 Gitlab Pages

在使用Pages時,baseUrl需要設定為projectName,才可正確載入js檔案

GitLab 的 CI/CD 配置管理

http://blog.51cto.com/flyfish225/2156602

GitLab CI submodule update

ssh private key add to environment variable

Last updated