mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 20:01:02 +00:00
b90e7904a5
closes #1636 closes #1429 supersedes #1586 Uses a different approach: just take the index.html compiled by vite and replace the paths to js and other files using regex. This is not compatible with the dev proxy which is also the reason why we can't use go templates for this. |
||
---|---|---|
.. | ||
docs | ||
plugins/woodpecker-plugins | ||
src | ||
static | ||
versioned_docs/version-0.15 | ||
versioned_sidebars | ||
.gitignore | ||
.prettierrc.js | ||
babel.config.js | ||
docusaurus.config.js | ||
LICENSE | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
README.md | ||
sidebars.js | ||
tsconfig.json | ||
versions.json |
Website
This website is built using Docusaurus 2, a modern static website generator.
Installation
pnpm install
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=master pnpm deploy