diff --git a/build/tasks/buildDocs.ts b/build/tasks/buildDocs.ts index 07a4c3cc..f45232c8 100644 --- a/build/tasks/buildDocs.ts +++ b/build/tasks/buildDocs.ts @@ -44,10 +44,13 @@ export async function deployDocs() { } await runSpawnSync(`git commit -m "deploy"`, RUN_PATH) await runSpawnSync( - `git push -f git@github.com:saqqdy/gitmars.git master:gh-pages`, + `git push -f https://github.com/saqqdy/gitmars.git master:gh-pages`, + RUN_PATH + ) + await runSpawnSync( + `git push -f https://github.com/saqqdy/gitmars.git master:gh-pages`, RUN_PATH ) - await runSpawnSync(`git push -f git@gitee.com:saqqdy/gitmars.git master:gh-pages`, RUN_PATH) }) await Promise.all(builds) } diff --git a/packages/docs/changelog.md b/packages/docs/changelog.md index 362d92d7..4568835f 100644 --- a/packages/docs/changelog.md +++ b/packages/docs/changelog.md @@ -1,5 +1,10 @@ # 更新日志 +## 2023.10.20 v6.0.0 更新日志 + +1. 移除 `server` `ui` 两个子项目 +2. 升级依赖包 + ## 2023.09.09 v5.3.0 更新日志 1. `combine` `admin publish` `build` 指令传参增加 `--data`,用来传入其他自定义构建参数 diff --git a/scripts/deploy-docs.sh b/scripts/deploy-docs.sh index 478d7791..de30e8e3 100644 --- a/scripts/deploy-docs.sh +++ b/scripts/deploy-docs.sh @@ -26,8 +26,8 @@ git commit -m 'deploy' # git push -f git@github.com:/.git master:gh-pages # 把上面的 换成你自己的 Github 用户名, 换成仓库名,比如我这里就是: -git push -f git@github.com:saqqdy/gitmars.git master:gh-pages -git push -f git@gitee.com:saqqdy/gitmars.git master:gh-pages +git push -f https://github.com/saqqdy/gitmars.git master:gh-pages +git push -f https://github.com/saqqdy/gitmars.git master:gh-pages cd -