1
0
mirror of https://github.com/woodpecker-ci/woodpecker.git synced 2024-12-24 10:07:21 +02:00
woodpecker/docs
smainz 65a429d24a
Fix usage of WOODPECKER_DATABASE_DATASOURCE_FILE (#3404)
fixes #3389

Set variable to let server detect if it's deployed within a container
image.
Set the default database connection based on this.

---------

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Anbraten <6918444+anbraten@users.noreply.github.com>
2024-02-26 20:12:41 +01:00
..
blog chore(deps): lock file maintenance (#3190) 2024-01-15 08:32:17 +01:00
cookbook Add continous deployment cookbook (#3098) 2024-01-09 19:47:25 +01:00
docs Fix usage of WOODPECKER_DATABASE_DATASOURCE_FILE (#3404) 2024-02-26 20:12:41 +01:00
plugins/woodpecker-plugins Add "Gradle Wrapper Validation" plugin (#3435) 2024-02-25 07:32:37 +01:00
src Add 2.3 docs (#3306) 2024-01-31 19:47:52 +01:00
static/img Cleanups + prefer .yaml (#3069) 2024-01-11 18:43:54 +01:00
versioned_docs Add 2.3 docs (#3306) 2024-01-31 19:47:52 +01:00
versioned_sidebars Add 2.3 docs (#3306) 2024-01-31 19:47:52 +01:00
.gitignore [Docs] Migrate docs framework to Docusaurus (#282) 2021-09-11 17:10:32 +02:00
babel.config.js [Docs] Migrate docs framework to Docusaurus (#282) 2021-09-11 17:10:32 +02:00
docusaurus.config.ts Add 2.3 docs (#3306) 2024-01-31 19:47:52 +01:00
LICENSE Optimize license files (#355) 2021-09-25 15:15:54 +02:00
package.json fix(deps): update docs npm deps non-major (#3295) 2024-01-30 07:34:36 +01:00
pnpm-lock.yaml chore(deps): lock file maintenance (#3350) 2024-02-08 20:23:49 +01:00
pnpm-workspace.yaml Fix docs build (#1690) 2023-04-03 12:30:01 +02:00
README.md Add 2.3 docs (#3306) 2024-01-31 19:47:52 +01:00
sidebars.js Add prettier (#2600) 2023-10-24 14:42:05 +02:00
tsconfig.json Fix prettier (#3259) 2024-01-22 19:56:50 +02:00
versions.json Add 2.3 docs (#3306) 2024-01-31 19:47:52 +01:00

Website

This website is built using Docusaurus 3, 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=main pnpm deploy