1
Some checks are pending
Build Project / build (push) Waiting to run

This commit is contained in:
mozzie 2024-06-04 13:07:42 +08:00
parent ebead200a1
commit c855b66d52

View File

@ -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