1 Star 1 Fork 0

JohnieXu / JohnieXu

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

迪诺笔记——JohnieXu's Blog

我的个人博客

项目地址:https://blog.lessing.online/

备用地址:https://www.lessing.online/xx-blog/(github-pages)

开发部署

install

npm i || yarn

publish

  • publish to github

采用gh-pages推送到github pages

npm run deploy:build || yarn deploy:build
  • publish to coding
  1. step1

    更新代码, 提交到github、coding的master分支, 然后打包静态资源

    git add .
    git commit -m update
    git push coding master
    npm run docs:build
  2. step2

    关联远程的coding项目仓库(可选)

    git remote add coding git@git.coding.net:JohnieXu/xx-blog.git
    git checkout coding-pages || git checkout -b coding-pages coding/coding-pages
  3. step3

    将上面打包的静态资源拷贝到项目外的文件夹下临时存储, 切换到coding-pages分支, 然后用step1中build产生dist目录下的所有文件覆盖coding-pages分支下项目根目录下的文件

    coding-pages分支为coding的静态文件服务,此分支放置打包后的静态资源文件

    然后push更新

    git add .
    git commit -m udpate
    git push coding coding-pages

推荐关注

你可以在这里位置关注到我

版权声明

所有原创文章(除翻译文章外的所有文章)的著作权属于 JohnieXu

转载注意事项:

你可以在非商业的前提下免费转载,但同时你必须:

  • 明确署名,即至少注明 作者:JohnieXu 字样以及文章的原始链接。

如需商业合作,请直接联系作者。

MIT License Copyright (c) 2018 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

迪诺笔记——我的个人博客项目 展开 收起
JavaScript
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/JohnieXu/JohnieXu.git
git@gitee.com:JohnieXu/JohnieXu.git
JohnieXu
JohnieXu
JohnieXu
master

搜索帮助