Skip to content

Commit

Permalink
mod: 临时修复vite新版本文问题
Browse files Browse the repository at this point in the history
  • Loading branch information
huangmingfu committed Dec 20, 2024
1 parent c660579 commit fc56b84
Show file tree
Hide file tree
Showing 3 changed files with 133 additions and 137 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ jobs:
- name: Build blog project
run: |
echo ${{ github.workspace }}
pnpm run build:dev
pnpm run build:pro
# 资源拷贝
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./dist-dev
source: ./dist-pro
destination: ./_site

# 上传 _site 的资源,用于后续部署
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@vitejs/plugin-react-swc": "^3.7.2",
"esbuild": "0.24.0",
"eslint": "^9.17.0",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
Expand Down
Loading

0 comments on commit fc56b84

Please sign in to comment.