Commit 60afa45

HPCesia <me@hpcesia.com>
2026-03-12 03:10:35
Fix CI failed
Replace withastro/action with manually action step
1 parent caab125
Changed files (1)
.forgejo
workflows
.forgejo/workflows/deploy.yaml
@@ -4,19 +4,25 @@ on:
       - main
 
 jobs:
-  build:
+  deploy:
     runs-on: ubuntu-latest
     steps:
       - name: Checkout code
         uses: actions/checkout@v6
         with:
           submodules: true
-      - name: Build site
-        uses: https://github.com/withastro/action@v5
-  deploy:
-    needs: build
-    runs-on: ubuntu-latest
-    steps:
+      - name: Setup Node.js
+        uses: actions/setup-node@v6
+        with:
+          node-version: "24"
+      - name: Setup PNPM
+        uses: https://github.com/pnpm/action-setup@v4
+        with:
+          version: 10
+          run_install: true
+          cache: true
+      - name: Build project
+        run: pnpm build
       - name: Deploy to Codeberg Pages
         uses: actions/git-pages@v2
         with: