Skip to content

Commit 643773f

Browse files
committed
2 parents c4bc370 + ca4388c commit 643773f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
- name: Install Dependencies
2323
run: npm install
2424

25+
- name: Clean
26+
run: npx hexo clean
27+
2528
- name: Generate
2629
run: npm run build # 对应 hexo generate
2730

@@ -30,4 +33,4 @@ jobs:
3033
with:
3134
github_token: ${{ secrets.GITHUB_TOKEN }} # 自动获取,无需配置
3235
publish_dir: ./public # 部署 public 文件夹下的内容
33-
publish_branch: gh-pages # 指定部署到哪个分支
36+
publish_branch: gh-pages # 指定部署到哪个分支

0 commit comments

Comments
 (0)