Skip to content

Commit

Permalink
try to enhance build
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeicanyue committed Apr 12, 2024
1 parent a2258a0 commit 330e778
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2,386 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: "yarn"

- name: Install Dependencies
run: |
npm i -g pnpm
pnpm install
yarn install
# https://github.com/zhullyb/zhullyb.github.io/blob/master/.github/workflows/deploy.yml
# 修复 hexo 生成的文件更新时间 为当前时间,实际应为提交时间
Expand All @@ -35,9 +35,8 @@ jobs:
- name: Build Site
run: |
export TZ='Asia/Shanghai'
pnpm build
yarn build
- name: Move baidu_verify
run: |
cp asset/baidu_verify_codeva-GwRsL4VPtx.html.html public/
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
{
"name": "hexo-site",
"homepage": "https://blog.ovvv.top",
"license": "GPL-3.0-or-later",
"version": "0.0.0",
"private": true,
"scripts": {
Expand Down
Loading

0 comments on commit 330e778

Please sign in to comment.