This commit is contained in:
+13
-13
@@ -9,30 +9,30 @@ jobs:
|
|||||||
name: Build and Deploy
|
name: Build and Deploy
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# services:
|
services:
|
||||||
# mermaid:
|
mermaid:
|
||||||
# image: yuzutech/kroki-mermaid
|
image: yuzutech/kroki-mermaid
|
||||||
# kroki:
|
kroki:
|
||||||
# image: yuzutech/kroki
|
image: yuzutech/kroki
|
||||||
# env:
|
env:
|
||||||
# KROKI_MERMAID_HOST: mermaid
|
KROKI_MERMAID_HOST: mermaid
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v7
|
||||||
name: Checkout code
|
name: Checkout code
|
||||||
|
|
||||||
- name: Setup node and npm
|
- name: Setup node and npm
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v7
|
||||||
with:
|
with:
|
||||||
node-version: lts/*
|
node-version: 24
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: npm ci
|
||||||
|
|
||||||
- name: Check and build
|
- name: Check and build
|
||||||
run: npm run build
|
run: npm run build
|
||||||
# env:
|
env:
|
||||||
# KROKI_SERVER: "http://kroki:8000"
|
KROKI_SERVER: "http://kroki:8000"
|
||||||
|
|
||||||
- name: Copy files via ssh
|
- name: Copy files via ssh
|
||||||
uses: appleboy/scp-action@v1
|
uses: appleboy/scp-action@v1
|
||||||
|
|||||||
Reference in New Issue
Block a user