From 8bc0eee3b39d4d572c11dc3ea00afb982c7c8457 Mon Sep 17 00:00:00 2001 From: thuhole Date: Wed, 8 Jul 2020 10:51:59 +0800 Subject: [PATCH] update --- README.md | 6 ++++++ package.json | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ef0dcbf4..0c577ca5 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,12 @@ 对 T大树洞 后端服务、客户端、账号、树洞内容的反馈请联系邮件 thuhole at protonmail dot com。 +## branch说明: +- master branch: 主分支 +- dev branch: 开发分支 +- gh-pages branch: dev分支的部署分支,用于测试 +- gh-pages-master branch: master分支的部署分支,用于jsdelivr CDN + ## License This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. diff --git a/package.json b/package.json index 885936ee..1e1ce328 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ "build": "react-scripts build", "test": "echo 'skipped react-scripts test --env=jsdom'", "predeploy": "", - "deploy": "gh-pages -r https://github.com/thuhole/webhole-dev -d build -m $(TZ=Asia/Shanghai date +\"%y%m%d%H%M%S\")", + "deploy": "gh-pages -d build -m $(TZ=Asia/Shanghai date +\"%y%m%d%H%M%S\")", "eject": "react-scripts eject" }, "homepage": "https://://cdn.jsdelivr.net/gh/thuhole/webhole-dev@gh-pages",