Skip to content

Commit

Permalink
- github action ci;
Browse files Browse the repository at this point in the history
  • Loading branch information
gzrjzcx committed Jun 7, 2024
1 parent 18483e9 commit f24b711
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Install Dependencies
run: npm install
- name: Build
run: hexo generate
run: npm run build
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
6 changes: 6 additions & 0 deletions blog/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
"name": "hexo-site",
"version": "0.0.0",
"private": true,
"scripts": {
"build": "hexo generate",
"clean": "hexo clean",
"deploy": "hexo deploy",
"server": "hexo server"
},
"hexo": {
"version": "5.4.0"
},
Expand Down

0 comments on commit f24b711

Please sign in to comment.