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: |