woodpecker/docs/README.md
2025-02-16 14:04:04 +01:00

1 KiB

Website

This website is built using Docusaurus 3, a modern static website generator.

Installation

pnpm install

Before your first build

Before running build or start commands for the first time, you need to build plugins in docs/plugins/woodpecker-plugins:

cd docs/plugins/woodpecker-plugins
pnpm build

Local Development

pnpm start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

pnpm build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Deployment happen via CI to woodpecker-ci.org.

To manually build the website and push it exec:

GIT_USER=woodpecker-bot USE_SSH=true DEPLOYMENT_BRANCH=main pnpm deploy