在拉取git之前关闭ssl验证

This commit is contained in:
2024-12-30 11:05:39 +08:00
parent 9a99ddb4b2
commit cb01924e56

View File

@@ -9,8 +9,9 @@ pages: # job 的名称必须要是 pages
- build
retry:
max: 2
before_script:
- git config --global http.sslVerify false
hooks:
pre_get_sources_script:
- git config --global http.sslVerify false
script: # 生成站点
- mkdir public