This commit is contained in:
parent
6a67b1cf3f
commit
a53a68e557
|
|
@ -1,4 +1,4 @@
|
||||||
## 《Evan Blog》
|
# web前端技术博客
|
||||||
|
|
||||||
## 介绍
|
## 介绍
|
||||||
|
|
||||||
|
|
@ -109,7 +109,7 @@ else
|
||||||
fi
|
fi
|
||||||
git init
|
git init
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m ${msg}
|
git commit -m "${msg}"
|
||||||
git push -f $codingUrl master # 推送到coding
|
git push -f $codingUrl master # 推送到coding
|
||||||
|
|
||||||
# deploy to github
|
# deploy to github
|
||||||
|
|
@ -120,7 +120,7 @@ else
|
||||||
githubUrl=https://xugaoyi:${GITHUB_TOKEN}@github.com/xugaoyi/evanblog.git
|
githubUrl=https://xugaoyi:${GITHUB_TOKEN}@github.com/xugaoyi/evanblog.git
|
||||||
fi
|
fi
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m ${msg}
|
git commit -m "${msg}"
|
||||||
git push -f $githubUrl master:gh-pages # 推送到github
|
git push -f $githubUrl master:gh-pages # 推送到github
|
||||||
|
|
||||||
cd - # 退回开始所在目录
|
cd - # 退回开始所在目录
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ else
|
||||||
fi
|
fi
|
||||||
git init
|
git init
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m ${msg}
|
git commit -m "${msg}"
|
||||||
git push -f $codingUrl master # 推送到coding
|
git push -f $codingUrl master # 推送到coding
|
||||||
|
|
||||||
# deploy to github
|
# deploy to github
|
||||||
|
|
@ -33,7 +33,7 @@ else
|
||||||
githubUrl=https://xugaoyi:${GITHUB_TOKEN}@github.com/xugaoyi/evanblog.git
|
githubUrl=https://xugaoyi:${GITHUB_TOKEN}@github.com/xugaoyi/evanblog.git
|
||||||
fi
|
fi
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m ${msg}
|
git commit -m "${msg}"
|
||||||
git push -f $githubUrl master:gh-pages # 推送到github
|
git push -f $githubUrl master:gh-pages # 推送到github
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@ const nav = require('./config/nav.js');
|
||||||
const sidebar = require('./config/sidebar.js');
|
const sidebar = require('./config/sidebar.js');
|
||||||
module.exports = {
|
module.exports = {
|
||||||
title: 'Evan Blog', // 标题
|
title: 'Evan Blog', // 标题
|
||||||
description: 'Evan Blog个人技术博客,基于vuepress构建,专注web前端学习与总结。JavaScript,js,ES6,TypeScript,vue,python,css3,html5,Node,git,github等技术文章。', // 描述,以 <meta> 标签渲染到当前页面的 HTML 中
|
description: 'Evan Blog,web前端技术博客,基于vuepress构建,专注web前端学习与总结。JavaScript,js,ES6,TypeScript,vue,python,css3,html5,Node,git,github等技术文章。', // 描述,以 <meta> 标签渲染到当前页面的 HTML 中
|
||||||
// process.env.VUEPRESS_BASE 在package.json生成
|
// process.env.VUEPRESS_BASE 在package.json生成
|
||||||
// base: process.env.VUEPRESS_BASE || '/', // 基础路径,默认'/',如果放到github pages要改成仓库名
|
// base: process.env.VUEPRESS_BASE || '/', // 基础路径,默认'/',如果放到github pages要改成仓库名
|
||||||
head: [ // 注入到当前页面<head> 中的标签,格式[tagName, { attrName: attrValue }, innerHTML?]
|
head: [ // 注入到当前页面<head> 中的标签,格式[tagName, { attrName: attrValue }, innerHTML?]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue