Update .forgejo/workflows/deploy.yaml
Some checks failed
Deploy to Web Server / deploy (push) Failing after 1s
Some checks failed
Deploy to Web Server / deploy (push) Failing after 1s
This commit is contained in:
parent
b54d89b92b
commit
9b0c82834c
1 changed files with 18 additions and 12 deletions
|
@ -10,22 +10,26 @@ jobs:
|
||||||
# runs-on: WebDeployment
|
# runs-on: WebDeployment
|
||||||
runs-on: 3900x
|
runs-on: 3900x
|
||||||
container:
|
container:
|
||||||
image: ghcr.io/ublue-os/bazzite-dx:42.20250529
|
image: docker.io/node:24-bookworm
|
||||||
# image: docker.io/node:24-bookworm
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install pnpm
|
# - name: Install pnpm
|
||||||
uses: https://github.com/pnpm/action-setup@v4
|
# uses: https://github.com/pnpm/action-setup@v4
|
||||||
with:
|
# with:
|
||||||
version: 10
|
# version: 10
|
||||||
|
|
||||||
- name: Install Node.js
|
# - name: Install Node.js
|
||||||
uses: https://github.com/actions/setup-node@v4
|
# uses: https://github.com/actions/setup-node@v4
|
||||||
|
# with:
|
||||||
|
# node-version: 24
|
||||||
|
# cache: 'pnpm'
|
||||||
|
|
||||||
|
- uses: denoland/setup-deno@v2
|
||||||
with:
|
with:
|
||||||
node-version: 24
|
deno-version: vx.x.x
|
||||||
cache: 'pnpm'
|
cache: true
|
||||||
|
|
||||||
- name: Install SSH key
|
- name: Install SSH key
|
||||||
uses: https://github.com/shimataro/ssh-key-action@v2
|
uses: https://github.com/shimataro/ssh-key-action@v2
|
||||||
|
@ -35,10 +39,12 @@ jobs:
|
||||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||||
if_key_exists: fail
|
if_key_exists: fail
|
||||||
|
|
||||||
- run: pnpm install
|
# - run: pnpm install
|
||||||
|
- run: deno install
|
||||||
|
|
||||||
- name: Build website
|
- name: Build website
|
||||||
run: pnpm run build-action
|
# run: pnpm run build-action
|
||||||
|
run: deno run build-action
|
||||||
|
|
||||||
- name: Create folder if not exists
|
- name: Create folder if not exists
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue