Check List
Expected behavior
the Github Action blocks the deployment process
Actual behavior
error occurs in the Github Action
log as:
Run npm run build
hexo-site@0.0.0 build
hexo generate
sh: 1: hexo: Permission denied
Error: Process completed with exit code 127.
How to reproduce?
insert "npm install -g hexo-cli" in pages.yml file
in front of npm install
- name: Install Dependencies
run: npm install -g hexo-cli
npm install
- name: Build
run: npm run build
- name: Upload Pages artifact
Is the problem still there under Safe mode?
its hard to say its something new
Your Node.js & npm version
Your Hexo and Plugin version
hexo-site@0.0.0 C:\Users\Zombies\SPCinZJUSTU.github.io
├── hexo-generator-archive@2.0.0
├── hexo-generator-category@2.0.0
├── hexo-generator-index@3.0.0
├── hexo-generator-tag@2.0.0
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-marked@6.3.0
├── hexo-renderer-stylus@3.0.1
├── hexo-server@3.0.0
├── hexo-theme-landscape@1.1.0
└── hexo@7.3.0
Your package.json
Your site's _config.yml (Optional)
Others
No response