From a133fbc1ec45bac7361a0239b324d35dc11e4d32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AD=8F=E9=A3=8E?= Date: Tue, 10 Mar 2026 20:45:43 +0800 Subject: [PATCH] test --- .gitea/workflows/build.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index e12e973..ef1c4b0 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -10,15 +10,15 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: https://git.makefire.fun/actions/checkout@v4 + uses: https://gitea.com/actions/checkout@v4 - name: Setup Node.js - uses: https://git.makefire.fun/actions/setup-node@v4 + uses: https://gitea.com/actions/setup-node@v4 with: - node-version: '20' + node-version: "20" - name: Cache npm dependencies - uses: actions/cache@v4 + uses: https://gitea.com/actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -30,9 +30,3 @@ jobs: - name: Build Hexo run: npm run build - - - name: Deploy to local directory - run: | - rm -rf /home/ubuntu/html/* - cp -r public/* /home/ubuntu/html/ - echo "✅ Hexo 构建完成,已输出到 /home/ubuntu/html" \ No newline at end of file