1
0
mirror of https://github.com/142vip/408CSFamily.git synced 2026-04-10 14:08:47 +08:00

Merge pull request #11 from 142vip/next

feat: 新增在线预览地址
This commit is contained in:
Rong姐姐好可爱
2023-03-02 19:33:58 +08:00
committed by GitHub
4 changed files with 29 additions and 18 deletions

View File

@@ -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

View File

@@ -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
### 提交记录

View File

@@ -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}" .

View File

@@ -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 -