From c855b66d52ea33af1b92cd1800fae8cdccb6ef0f Mon Sep 17 00:00:00 2001 From: mozzie Date: Tue, 4 Jun 2024 13:07:42 +0800 Subject: [PATCH] 1 --- .gitea/workflows/build.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index b5f995cf..f5c488cb 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -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/ \ No newline at end of file + - name: move dist assets to host + run: pwd \ No newline at end of file