Skip to content

Commit 6853755

Browse files
committed
fix: 修复gh-pages
1 parent d62b3d4 commit 6853755

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ jobs:
7070
- name: Build blog project
7171
run: |
7272
echo ${{ github.workspace }}
73-
pnpm run build:pro
73+
pnpm run build:dev
7474
7575
# 资源拷贝
7676
- name: Build with Jekyll
7777
uses: actions/jekyll-build-pages@v1
7878
with:
79-
source: ./dist-pro
79+
source: ./dist-dev
8080
destination: ./_site
8181

8282
# 上传 _site 的资源,用于后续部署

scripts/push.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ git push
1414
# 使用示例:
1515
# pnpm push "feat: 添加新功能"
1616
# 或者 pnpm push 走默认提交描述信息
17+
# 可以删掉此文件,改用git别名以实现快速提交

0 commit comments

Comments
 (0)