Files
Latte 562c3770fb Consolidate CI and deployment workflows
Add a deploy workflow that builds and pushes the Docker image from
the server working directory and runs docker compose on main. Trim
CI to a focused Node build in an alpine container (apk deps,
npm ci, npm run build) and remove the old docker workflow. Simplify
Dockerfile to a builder+runtime flow (npm ci, npm prune,
copy node_modules) and make docker-compose use the registry image
and proxy network.
2026-03-08 15:05:31 +01:00

28 lines
441 B
YAML

name: CI
on:
push:
branches:
- dev
pull_request:
branches:
- main
jobs:
build:
runs-on: [ovh-vps-1, hiddenden]
container:
image: node:20-alpine
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install build deps
run: apk add --no-cache python3 make g++
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build