parent
ebead200a1
commit
c855b66d52
|
@ -7,7 +7,7 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: docker
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -18,20 +18,20 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '18' # or specify the version you need
|
node-version: '18' # or specify the version you need
|
||||||
|
|
||||||
- name: Install pnpm
|
# - name: Install pnpm
|
||||||
run: npm i -g pnpm hexo
|
# run: npm i -g pnpm hexo
|
||||||
|
|
||||||
- name: Install dependencies
|
# - name: Install dependencies
|
||||||
run: pnpm install
|
# run: pnpm install
|
||||||
|
|
||||||
- name: hexo clean
|
# - name: hexo clean
|
||||||
run: hexo cl
|
# run: hexo cl
|
||||||
|
|
||||||
- name: hexo generate
|
# - name: hexo generate
|
||||||
run: hexo g
|
# run: hexo g
|
||||||
|
|
||||||
- name: build algolia search index
|
# - name: build algolia search index
|
||||||
run: pnpm run search
|
# run: pnpm run search
|
||||||
|
|
||||||
- name: move dist assets
|
- name: move dist assets to host
|
||||||
run: mv public/* /www/wwwroot/caddy/html/blog-hexo/
|
run: pwd
|
Loading…
Reference in New Issue
Block a user