ci(script): 添加临时禁用Git SSL验证并清理.gitignore
修改build-and-publish.bat脚本临时禁用Git SSL验证以提高兼容性 清理.gitignore文件,移除不再需要的资源路径并优化注释结构
This commit is contained in:
19
.gitignore
vendored
19
.gitignore
vendored
@@ -7,21 +7,12 @@ docs/.vuepress/dist
|
|||||||
.trae/
|
.trae/
|
||||||
.DS_Store
|
.DS_Store
|
||||||
*.log
|
*.log
|
||||||
# Assets in public directory
|
|
||||||
docs/.vuepress/public/images/**
|
|
||||||
docs/.vuepress/public/life/**
|
|
||||||
docs/.vuepress/public/videos/**
|
|
||||||
|
|
||||||
# Local resources storage
|
# Build and Publish output
|
||||||
|
_publish/
|
||||||
|
|
||||||
|
# Local resources storage (not uploaded)
|
||||||
resources/
|
resources/
|
||||||
|
|
||||||
# Allow specific used assets
|
# Ensure .gitkeep files are always tracked
|
||||||
!docs/.vuepress/public/images/elysia/
|
|
||||||
!docs/.vuepress/public/images/elysia/1.jpg
|
|
||||||
!docs/.vuepress/public/images/elysia/2.png
|
|
||||||
!docs/.vuepress/public/images/elysia/3.jpg
|
|
||||||
!docs/.vuepress/public/images/elysia/4.jpg
|
|
||||||
!docs/.vuepress/public/images/elysia/5.jpg
|
|
||||||
!docs/.vuepress/public/images/elysia/6.jpg
|
|
||||||
!docs/.vuepress/public/plume.svg
|
|
||||||
!**/.gitkeep
|
!**/.gitkeep
|
||||||
|
|||||||
@@ -20,6 +20,10 @@ set "BRANCH=main"
|
|||||||
REM High memory limit for better performance/stability (8GB)
|
REM High memory limit for better performance/stability (8GB)
|
||||||
set "NODE_OPTIONS=--max-old-space-size=8192"
|
set "NODE_OPTIONS=--max-old-space-size=8192"
|
||||||
|
|
||||||
|
REM Disable Git SSL Verification for this session
|
||||||
|
git config --global http.sslVerify false
|
||||||
|
git config --global http.sslBackend openssl
|
||||||
|
|
||||||
REM Args
|
REM Args
|
||||||
set "COMMIT_MSG=%~1"
|
set "COMMIT_MSG=%~1"
|
||||||
if "%COMMIT_MSG%"=="" set "COMMIT_MSG=Build: %DATE% %TIME%"
|
if "%COMMIT_MSG%"=="" set "COMMIT_MSG=Build: %DATE% %TIME%"
|
||||||
|
|||||||
Reference in New Issue
Block a user