This commit is contained in:
xugaoyi 2020-06-02 22:28:37 +08:00
parent 84ea7b9ee6
commit 8494bbd903
5 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@ jobs: # 工作流
- name: run deploy.sh # 步骤3 同时部署到github和coding
env: # 设置环境变量
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }} # toKen私密变量
CODING_TOKEN: ${{ secrets.CODING_TOKEN }} # 腾讯云开发者平台coding私密token
CODING_TOKEN: ${{ secrets.CODING_TOKEN }}
run: npm install && npm run deploy
# - name: Build and Deploy # 步骤3 只提交到github可以使用这个步骤

View File

@ -18,8 +18,8 @@ module.exports = {
lineNumbers: true // 代码行号
},
// theme: 'vdoing', // 使用依赖包主题
theme: require.resolve('../../theme-vdoing'), // 使用本地主题
theme: 'vdoing', // 使用依赖包主题
// theme: require.resolve('../../theme-vdoing'), // 使用本地主题
themeConfig: { // 主题配置
nav,

View File

@ -20,7 +20,7 @@
"vuepress-plugin-one-click-copy": "^1.0.2",
"vuepress-plugin-thirdparty-search": "^1.0.2",
"vuepress-plugin-zooming": "^1.1.7",
"vuepress-theme-vdoing": "^1.1.2",
"vuepress-theme-vdoing": "^1.1.3",
"yamljs": "^0.3.0"
},
"dependencies": {

View File

@ -18,7 +18,7 @@
</ul>
<div class="info">
<div class="author iconfont icon-touxiang" title="作者" v-if="articleInfo.author">
<a :href="articleInfo.author.href || articleInfo.author.link" v-if="articleInfo.author.href || articleInfo.author.link" target="_blank" class="beLink" title="作者">{{articleInfo.author.name}}</a>
<a :href="articleInfo.author.href || articleInfo.author.link" v-if="articleInfo.author.href || articleInfo.author.link && typeof(articleInfo.author.link) === 'string'" target="_blank" class="beLink" title="作者">{{articleInfo.author.name}}</a>
<a v-else href="javascript:;">{{articleInfo.author.name || articleInfo.author}}</a>
</div>
<div class="date iconfont icon-riqi" title="创建时间" v-if="articleInfo.date">

View File

@ -1,6 +1,6 @@
{
"name": "vuepress-theme-vdoing",
"version": "1.1.2",
"version": "1.1.3",
"description": "Vdoing theme for VuePress. 一个基于VuePress的知识管理兼博客主题。",
"author": {
"name": "gaoyi(Evan) Xu"