2021-09-11 15:10:32 +00:00
# Website
2024-01-31 18:47:52 +00:00
This website is built using [Docusaurus 3 ](https://docusaurus.io/ ), a modern static website generator.
2021-09-11 15:10:32 +00:00
2023-10-31 08:14:09 +00:00
## Installation
2021-09-11 15:10:32 +00:00
2023-03-24 17:18:14 +00:00
```bash
pnpm install
2021-09-11 15:10:32 +00:00
```
2023-10-31 08:14:09 +00:00
## Local Development
2021-09-11 15:10:32 +00:00
2023-03-24 17:18:14 +00:00
```bash
pnpm start
2021-09-11 15:10:32 +00:00
```
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
2023-10-31 08:14:09 +00:00
## Build
2021-09-11 15:10:32 +00:00
2023-03-24 17:18:14 +00:00
```bash
pnpm build
2021-09-11 15:10:32 +00:00
```
This command generates static content into the `build` directory and can be served using any static contents hosting service.
2023-10-31 08:14:09 +00:00
## Deployment
2021-09-11 15:10:32 +00:00
2021-10-14 16:13:57 +00:00
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 ).
2021-09-11 15:10:32 +00:00
2021-09-16 16:50:53 +00:00
To manually build the website and push it exec:
```sh
2023-07-31 03:47:23 +00:00
GIT_USER=woodpecker-bot USE_SSH=true DEPLOYMENT_BRANCH=main pnpm deploy
2021-09-16 16:50:53 +00:00
```