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:
build:
runs-on: ubuntu-latest
runs-on: docker
steps:
- name: Checkout repository
@ -18,20 +18,20 @@ jobs:
with:
node-version: '18' # or specify the version you need
- name: Install pnpm
run: npm i -g pnpm hexo
# - name: Install pnpm
# run: npm i -g pnpm hexo
- name: Install dependencies
run: pnpm install
# - name: Install dependencies
# run: pnpm install
- name: hexo clean
run: hexo cl
# - name: hexo clean
# run: hexo cl
- name: hexo generate
run: hexo g
# - name: hexo generate
# run: hexo g
- name: build algolia search index
run: pnpm run search
# - name: build algolia search index
# run: pnpm run search
- name: move dist assets
run: mv public/* /www/wwwroot/caddy/html/blog-hexo/
- name: move dist assets to host
run: pwd