You've already forked system-aspect
This commit is contained in:
11
.github/actions/deploy-quartz/Dockerfile
vendored
Normal file
11
.github/actions/deploy-quartz/Dockerfile
vendored
Normal 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"]
|
||||||
5
.github/actions/deploy-quartz/action.yml
vendored
Normal file
5
.github/actions/deploy-quartz/action.yml
vendored
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
name: 'Build Quartz'
|
||||||
|
description: 'Use Quartz to build the static website content'
|
||||||
|
runs:
|
||||||
|
using: 'docker'
|
||||||
|
image: 'Dockerfile'
|
||||||
Reference in New Issue
Block a user