You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hexo works well on my machine.
I follow the tutorial (https://hexo.io/zh-cn/docs/github-pages) to deploy GitHub Pages.
But It's seems that hexo can't detect my blog files placed in folder _posts.
INFO Start processing
Date Title Path Category Tags
No posts.
Here is my github action file:
# pagesname: Pageson:
push:
branches:
- master # default branchjobs:
pages:
runs-on: ubuntu-latestpermissions:
contents: writesteps:
- uses: actions/checkout@v3with:
ref: mastersubmodules: true # Fetch Hugo themes (true OR recursive)fetch-depth: 2# Fetch all history for .GitInfo and .Lastmod
- name: Use Node.js 19.xuses: actions/setup-node@v3with:
node-version: "19.x"
- name: Cache NPM dependenciesuses: actions/cache@v3with:
path: node_moduleskey: ${{ runner.OS }}-npm-cacherestore-keys: | ${{ runner.OS }}-npm-cache
- name: Install Dependenciesrun: npm install
- name: Buildrun: | ls ls source/_posts npm exec hexo clean --safe npm exec hexo list post --safe npm exec hexo g --debug --safe
- name: Deployuses: peaceiris/actions-gh-pages@v3with:
github_token: ${{ secrets.GITHUB_TOKEN }}publish_dir: ./public
Here is what Github action inputs
_config.butterfly.yml
_config.yml
node_modules
package-lock.json
package.json
pnpm-lock.yaml
scaffolds
source
themes
74IC
74IC.md
_ljsex.md
github-action-初体验
github-action-初体验.md
hello-world.md
hexo-typora的博客体验
hexo-typora的博客体验.md
images
mc-server-local-ip-network-accelerate
mc-server-local-ip-network-accelerate.md
test-butterfly.md
test-post-asset-folder.md
...
INFO Validating config
INFO Validating config
INFO Start processing
Date Title Path Category Tags
No posts.
INFO Validating config
INFO Start processing
INFO Files loaded in 71 ms
INFO Generated: fancybox/jquery.fancybox.min.css
INFO Generated: js/script.js
INFO Generated: css/fonts/FontAwesome.otf
INFO Generated: css/style.css
INFO Generated: fancybox/jquery.fancybox.min.js
INFO Generated: js/jquery-3.4.1.min.js
INFO Generated: css/fonts/fontawesome-webfont.eot
INFO Generated: css/fonts/fontawesome-webfont.ttf
INFO Generated: css/fonts/fontawesome-webfont.woff
INFO Generated: css/images/banner.jpg
INFO Generated: css/fonts/fontawesome-webfont.woff2
INFO Generated: css/fonts/fontawesome-webfont.svg
INFO 12 files generated in 2[9](https://github.com/notnotype/notnotype.github.io/actions/runs/4291501269/jobs/7476764654#step:5:10)2 ms
Check List
Please check followings before submitting a new issue.
hexo version
to check)repo: https://github.com/notnotype/notnotype.github.io
Expected behavior
Hexo works well on my machine.
I follow the tutorial (https://hexo.io/zh-cn/docs/github-pages) to deploy GitHub Pages.
But It's seems that hexo can't detect my blog files placed in folder
_posts
.Here is my github action file:
Here is what Github action inputs
How to reproduce?
https://github.com/notnotype/notnotype.github.io/actions/runs/4291501269/jobs/7476764654
Is the problem still there under "Safe mode"?
Yes, I also tried to change the theme to the default theme
Environment & Settings
Node.js & npm version(
node -v && npm -v
)Hexo and Plugin version(
npm ls --depth 0
)Your package.json
package.json
Others
The text was updated successfully, but these errors were encountered: