From c488580ec935f5c35881f9db2ec77da0e1cd9bb5 Mon Sep 17 00:00:00 2001 From: zhangjinchao Date: Tue, 7 Nov 2023 17:13:23 +0800 Subject: [PATCH] feat: cdn --- docs/.vuepress/config/themeConfig.js | 2 +- ...62\351\235\231\346\200\201\345\215\232\345\256\242.md" | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/.vuepress/config/themeConfig.js b/docs/.vuepress/config/themeConfig.js index 7345b62c..085df27a 100644 --- a/docs/.vuepress/config/themeConfig.js +++ b/docs/.vuepress/config/themeConfig.js @@ -51,7 +51,7 @@ module.exports = { blogger: { // 博主信息,显示在首页侧边栏 avatar: - 'https://cdn.statically.io/gh/Ethan-zjc/picx-images-hosting/master/20231017/v2-3b4fc7e3a1195a081d0259246c38debc_1440w.7g0i5tb41cw0.webp', + 'https://jsd.cdn.zzko.cn/gh/Ethan-zjc/picx-images-hosting@master/20231017/v2-3b4fc7e3a1195a081d0259246c38debc_1440w.7g0i5tb41cw0.webp', name: 'Ethan', slogan: '前端界的小学生', }, diff --git "a/docs/03.\346\212\200\346\234\257/02.GitHub\346\212\200\345\267\247/02.GitHub Actions \345\256\236\347\216\260\350\207\252\345\212\250\351\203\250\347\275\262\351\235\231\346\200\201\345\215\232\345\256\242.md" "b/docs/03.\346\212\200\346\234\257/02.GitHub\346\212\200\345\267\247/02.GitHub Actions \345\256\236\347\216\260\350\207\252\345\212\250\351\203\250\347\275\262\351\235\231\346\200\201\345\215\232\345\256\242.md" index 9024320d..42ebaeb0 100644 --- "a/docs/03.\346\212\200\346\234\257/02.GitHub\346\212\200\345\267\247/02.GitHub Actions \345\256\236\347\216\260\350\207\252\345\212\250\351\203\250\347\275\262\351\235\231\346\200\201\345\215\232\345\256\242.md" +++ "b/docs/03.\346\212\200\346\234\257/02.GitHub\346\212\200\345\267\247/02.GitHub Actions \345\256\236\347\216\260\350\207\252\345\212\250\351\203\250\347\275\262\351\235\231\346\200\201\345\215\232\345\256\242.md" @@ -15,13 +15,13 @@ author: ## 前言 -我使用vuepress搭建了一个静态博客,挂在了Github pages和[Coding pages](https://dev.tencent.com/)上面。 +我使用vuepress搭建了一个静态博客,挂在了[Github pages](https://ethan-zjc.github.io/hub-blog/?p=1)上面。 -coding pages在国内的访问速度比github pages要快很多,而且还可以被百度收录。 +coding pages在国内的访问速度比github pages要快很多,而且还可以被百度收录, 有兴趣可以了解 -一开始的部署方式是使用[sh部署脚本](https://github.com/Ethan-zjc/hub-blog/blob/master/deploy.sh)把代码提交到这两个平台的仓库分支,虽然已经很方便了,但是我还想把博客未打包的源码提交到Github主分支上。这就需要我操作两次命令,**我就想能不能只需要一次操作就可以同时把源码、部署代码一次性提交到两个平台呢?** +一开始的部署方式是使用[sh部署脚本](https://github.com/Ethan-zjc/hub-blog/blob/master/deploy.sh)把代码提交到这两个平台的仓库分支,虽然已经很方便了,但是我还想把博客未打包的源码提交到Github主分支上。这就需要我操作两次命令,**我就想能不能只需要一次操作就可以同时把源码、部署代码一次性提交到两个平台呢?或者同时提交到私有服务器** @@ -29,6 +29,8 @@ coding pages在国内的访问速度比github pages要快很多,而且还可 在了解GitHub Actions最近(2019.12)刚正式发布了之后,尝试使用它发现能够满足我的需求。[GitHub Actions 入门教程](http://www.ruanyifeng.com/blog/2019/09/getting-started-with-github-actions.html?20191227113947#comment-last) +## 提交私有服务器 +