From 9b0c82834c88e7c7c461352bf32fb9267ae079ae Mon Sep 17 00:00:00 2001 From: aria Date: Wed, 4 Jun 2025 14:50:24 +1000 Subject: [PATCH] Update .forgejo/workflows/deploy.yaml --- .forgejo/workflows/deploy.yaml | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 9893885..55f89bb 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -10,22 +10,26 @@ jobs: # runs-on: WebDeployment runs-on: 3900x container: - image: ghcr.io/ublue-os/bazzite-dx:42.20250529 - # image: docker.io/node:24-bookworm + image: docker.io/node:24-bookworm steps: - name: Checkout uses: actions/checkout@v4 - - name: Install pnpm - uses: https://github.com/pnpm/action-setup@v4 - with: - version: 10 + # - name: Install pnpm + # uses: https://github.com/pnpm/action-setup@v4 + # with: + # version: 10 - - name: Install Node.js - uses: https://github.com/actions/setup-node@v4 + # - name: Install Node.js + # uses: https://github.com/actions/setup-node@v4 + # with: + # node-version: 24 + # cache: 'pnpm' + + - uses: denoland/setup-deno@v2 with: - node-version: 24 - cache: 'pnpm' + deno-version: vx.x.x + cache: true - name: Install SSH key uses: https://github.com/shimataro/ssh-key-action@v2 @@ -35,10 +39,12 @@ jobs: known_hosts: ${{ secrets.KNOWN_HOSTS }} if_key_exists: fail - - run: pnpm install + # - run: pnpm install + - run: deno install - name: Build website - run: pnpm run build-action + # run: pnpm run build-action + run: deno run build-action - name: Create folder if not exists continue-on-error: true