From 02a2d96ce551e446cbec7b6eb896a0d34da60717 Mon Sep 17 00:00:00 2001 From: Nathan Cummins Date: Mon, 11 Aug 2025 17:14:53 +0930 Subject: [PATCH] Custom pipeline not using the Astro action --- .gitea/workflows/deploy.yaml | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 298c00a..22d4e2c 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -14,8 +14,22 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - - name: Install, build, and upload your site - uses: withastro/action@v4 + - name: Setup Node + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: npm + cache-dependency-path: "./package-lock.json" + + - name: Install + shell: "bash" + working-directory: . + run: npm install + + - name: Build + shell: "bash" + working-directory: . + run: npm run build - name: Set up SSH run: |