1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00
woodpecker/docs/README.md

36 lines
858 B
Markdown
Raw Permalink Normal View History

# Website
2024-01-31 20:47:52 +02:00
This website is built using [Docusaurus 3](https://docusaurus.io/), a modern static website generator.
## Installation
```bash
pnpm install
```
## Local Development
```bash
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
```bash
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](https://github.com/woodpecker-ci/woodpecker/blob/d59fdb4602bfdd0d00078716ba61b05c02cbd1af/.woodpecker/docs.yml#L8-L30) to [woodpecker-ci.org](https://woodpecker-ci.org).
To manually build the website and push it exec:
```sh
2023-07-31 05:47:23 +02:00
GIT_USER=woodpecker-bot USE_SSH=true DEPLOYMENT_BRANCH=main pnpm deploy
```