Update .forgejo/workflows/deploy.yaml
All checks were successful
Deploy to Web Server / deploy (push) Successful in 2m7s

This commit is contained in:
aria 2025-06-04 14:55:07 +10:00
parent 85a95c3812
commit 592df7d71d

View file

@ -15,21 +15,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v4
# - 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
# with:
# node-version: 24
# cache: 'pnpm'
- uses: https://github.com/denoland/setup-deno@v2
- name: Install pnpm
uses: https://github.com/pnpm/action-setup@v4
with:
deno-version: vx.x.x
cache: true
version: 10
- name: Install Node.js
uses: https://github.com/actions/setup-node@v4
with:
node-version: 24
cache: 'pnpm'
# - uses: https://github.com/denoland/setup-deno@v2
# with:
# deno-version: vx.x.x
# cache: true
- name: Install SSH key
uses: https://github.com/shimataro/ssh-key-action@v2
@ -39,12 +39,12 @@ jobs:
known_hosts: ${{ secrets.KNOWN_HOSTS }}
if_key_exists: fail
# - run: pnpm install
- run: deno install
- run: pnpm install
# - run: deno install
- name: Build website
# run: pnpm run build-action
run: deno run build-action
run: pnpm run build-action
# run: deno run build-action
- name: Create folder if not exists
continue-on-error: true