2021-09-11 15:10:32 +00:00
# Website
This website is built using [Docusaurus 2 ](https://docusaurus.io/ ), a modern static website generator.
### Installation
```
2022-10-08 14:15:07 +00:00
$ pnpm install
2021-09-11 15:10:32 +00:00
```
### Local Development
```
2022-10-08 14:15:07 +00:00
$ 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.
### Build
```
2022-10-08 14:15:07 +00:00
$ 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.
### Deployment
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
2022-10-08 14:15:07 +00:00
GIT_USER=woodpecker-bot USE_SSH=true DEPLOYMENT_BRANCH=master pnpm deploy
2021-09-16 16:50:53 +00:00
```