Tests
Deploy Quartz site to GitHub Pages / build (push) Failing after 19s Details

This commit is contained in:
Peaceultime 2023-12-14 14:51:27 +01:00
parent 0a249eab4c
commit ce81a43764
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,11 @@
FROM node:20-slim as builder
WORKDIR /usr/src/app
COPY package.json .
COPY package-lock.json* .
RUN npm ci
FROM node:20-slim
WORKDIR /usr/src/app
COPY --from=builder /usr/src/app/ /usr/src/app/
COPY . .
CMD ["npx", "quartz", "build", "-d", "/workspace/Peaceultime/system-aspect", "-o", "/output"]

View File

@ -0,0 +1,5 @@
name: 'Build Quartz'
description: 'Use Quartz to build the static website content'
runs:
using: 'docker'
image: 'Dockerfile'