Skip to content

Commit

Permalink
ci(.github/workflows): notebook-deploy-hexo, yiyungent.github.io-depl…
Browse files Browse the repository at this point in the history
…oy-hexo

在 npm ci 前先 npm install 确保同步包
  • Loading branch information
yiyungent committed Jan 26, 2024
1 parent abbe8e1 commit a053595
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/notebook-deploy-hexo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
export TZ='Asia/Shanghai'
npm config set registry https://registry.npmmirror.com
npm install -g hexo-cli
# npm install
npm install
# 使用 npm ci 锁定版本, 确保 CI/CD 环境与开发环境一致, 同时确保不会出现 prompt
npm ci
hexo clean
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/yiyungent.github.io-deploy-hexo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
run: |
npm config set registry https://registry.npmmirror.com
npm install -g hexo-cli
# npm install
npm install
# 使用 npm ci 锁定版本, 确保 CI/CD 环境与开发环境一致, 同时确保不会出现 prompt
npm ci
shell: bash
Expand Down

0 comments on commit a053595

Please sign in to comment.