This commit is contained in:
2021-11-14 14:32:08 +08:00
parent f75ad8bedd
commit b0f6120151
152 changed files with 22219 additions and 8 deletions

View File

@@ -48,15 +48,11 @@
- 克隆本仓库的前端目录
```bash
docker exec -ti gitea /bin/bash # 进入 gitea 容器
mkdir /html/www.colben.cn
chown gitea.www-data /html/www.colben.cn
chown gitea.www-data /html
su - gitea
cd /html/www.colben.cn
git init
git remote add -f origin https://git.colben.cn/colben/www.colben.cn.git
#git config core.sparsecheckout true
#echo 'public' > .git/info/sparse-checkout
git pull origin master
cd /html
git clone https://git.colben.cn/colben/www.colben.cn.git
hugo
exit # 退出容器
```