woodpecker/docs
manuelluis 9c684b7a22
Add option to set the local repository path to the cli command exec. (#3524)
The cli command exec not handle in a coherent way the repository path
when a directory or filename is given for the pipeline.

` woodpecker-cli exec [command options] [path/to/.woodpecker.yaml]`

If the path to the pipeline is a file in the `.woodpecker` directory,
for example: `.woodpecker/pipeline.yaml`,
the repository path will be: `.woodpecker`

If the path to the pipeline yaml is a directory with more than one
level, for example `ci/woodpecker/`,
the repository path will be:  `ci`

In order not to break the old behavior we added a new option to put the
root directory of the repository:
~~~
woodpecker-cli exec --local --repo-path . --pipeline-event manual
.woodpecker/build.yml
~~~
2024-03-21 00:19:48 +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 Bump follow-redirects and fix broken anchors (#3488) 2024-03-15 11:56:31 +01:00
plugins/woodpecker-plugins Add deployment plugin (#3495) 2024-03-18 08:03:00 +01:00
src fix: plugin doc page not found (#3480) 2024-03-12 16:40:28 +01:00
static/img Cleanups + prefer .yaml (#3069) 2024-01-11 18:43:54 +01:00
versioned_docs Add option to set the local repository path to the cli command exec. (#3524) 2024-03-21 00:19:48 +01:00
versioned_sidebars Delete docs for v0.15.x (#3508) 2024-03-19 09:26:06 +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 Delete docs for v0.15.x (#3508) 2024-03-19 09:26:06 +01:00
LICENSE Optimize license files (#355) 2021-09-25 15:15:54 +02:00
package.json Bump follow-redirects and fix broken anchors (#3488) 2024-03-15 11:56:31 +01:00
pnpm-lock.yaml Bump follow-redirects and fix broken anchors (#3488) 2024-03-15 11:56:31 +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 Update prettier version (#3471) 2024-03-08 14:57:34 +01:00
versions.json Delete docs for v0.15.x (#3508) 2024-03-19 09:26:06 +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