-
经过 但是当我打开页面时,白花花一片 :( 本人采取的是部署过程中下载theme的方式,在查阅日志后发现下载theme后的generate过程中yun没有回报版本号,并且抛出了大量No Layout: /home/runner/.npm-global/bin/hexo g
shell: /bin/bash -e {0}
INFO Start processing
INFO Files loaded in 286 ms
WARN No layout: about/index.html
WARN No layout: about/site.html
... 初步判断是yun没有正确下载导致的,但是在本地使用同样的指令后是能够形成正确的目录结构的:
也是可以正常generate的
想请教一下Author. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 actions/checkout 已经默认在本地 clone 了该项目,无需 run: |
git clone https://github.com/EdenJohnson2006/BlogBackup.git gitblog
cd gitblog 只需 run: |
git clone -b master https://github.com/YunYouJun/hexo-theme-yun themes/yun 然后生成文件即可。 可以直接参考我的配置使用
|
Beta Was this translation helpful? Give feedback.
-
使用其他主题遇到一样的问题. |
Beta Was this translation helpful? Give feedback.
-
設定 submdule |
Beta Was this translation helpful? Give feedback.
actions/checkout 已经默认在本地 clone 了该项目,无需
只需
然后生成文件即可。
可以直接参考我的配置使用
submodule
(去除 algolia)