ci-demo-2/.woodpecker/.documentation.yml

25 lines
514 B
YAML

---
when:
path: "documentation/**"
variables:
- &frontend_image "cl00e9ment/node.js-builder:git"
clone:
git:
image: woodpeckerci/plugin-git
settings:
skip_verify: true
steps:
"build:ui-bundle":
image: *frontend_image
commands:
- ls
- npm ci
- npx gulp bundle:pack
directory: documentation/layout/oc
"build:documentation":
image: *frontend_image
commands:
- pnpm install --frozen-lockfile
- pnpm antora generate
directory: documentation