mirror of
https://github.com/142vip/408CSFamily.git
synced 2026-04-10 14:08:47 +08:00
11
README.md
11
README.md
@@ -28,6 +28,17 @@
|
||||
2. 建议结合思维导图进行学习
|
||||
|
||||
|
||||
## 在线阅读
|
||||
|
||||
https://408.142vip.cn
|
||||
|
||||
网站无法访问时,建议通过科学上网访问备用网络
|
||||
|
||||
- Github: https://142vip.github.io/408CSFamily
|
||||
- Netlify: https://408-family.netlify.app
|
||||
- Vercel: https://408-family.vercel.app
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -144,8 +144,15 @@ yarn run dev
|
||||
|
||||
### 在线浏览
|
||||
|
||||
- 个人网站
|
||||
- 静态托管
|
||||
https://408.142vip.cn
|
||||
|
||||
网站无法访问时,建议通过科学上网访问备用网络
|
||||
|
||||
- Github: https://142vip.github.io/408CSFamily
|
||||
- Netlify: https://408-family.netlify.app
|
||||
- Vercel: https://408-family.vercel.app
|
||||
|
||||
|
||||
|
||||
|
||||
### 提交记录
|
||||
|
||||
@@ -36,7 +36,7 @@ run(){
|
||||
|
||||
if [ "${isFaster}" == "faster" ];then
|
||||
## 本地构建、快速制作镜像
|
||||
npm run build && docker build -f Faster.Dockerfile --build-arg APP_VERSION="${version}" -t "${imageTagName}" .
|
||||
pnpm build && docker build -f Faster.Dockerfile --build-arg APP_VERSION="${version}" -t "${imageTagName}" .
|
||||
else
|
||||
## ci流程构建
|
||||
docker build -f Dockerfile --build-arg APP_VERSION="${version}" -t "${imageTagName}" .
|
||||
|
||||
@@ -4,33 +4,26 @@ commitInfo=${1}
|
||||
|
||||
set -e
|
||||
|
||||
## 进入上级目录,并编译
|
||||
npm run build
|
||||
npm run build-proxy && cd docs/.vuepress/dist
|
||||
|
||||
## 切换到dist文件目录
|
||||
cd docs/.vuepress/dist
|
||||
|
||||
git init
|
||||
git add -A
|
||||
|
||||
git init && git add -A
|
||||
|
||||
## 如果没有输入commit信息,则采用默认
|
||||
if [ "${commitInfo}" -eq "" ]; then
|
||||
commitInfo="408CSFamily page init"
|
||||
fi
|
||||
|
||||
## 配置个人信息
|
||||
git config user.name 'chu fan' && git config user.email 'fairy_408@2925.com' && git config --list
|
||||
|
||||
git commit -m "refactor:${commitInfo}"
|
||||
|
||||
## 配置个人信息
|
||||
git config user.name '妹妹手上有抹茶'
|
||||
git config user.email 'fairy_408@2925.com'
|
||||
|
||||
git config --list
|
||||
# git push -f https://github.com/mmdapl/408CSFamily.git main
|
||||
|
||||
# if you are deploying to https://<USERNAME>.github.io
|
||||
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
|
||||
|
||||
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
||||
git push -f https://github.com/mmdapl/408CSFamily.git master:pages/github
|
||||
git push -f https://github.com/mmdapl/408CSFamily.git main:pages/github
|
||||
|
||||
|
||||
cd -
|
||||
Reference in New Issue
Block a user