Woodpecker CI Plugin to deploy sites to Codeberg Pages
  • Rust 91.3%
  • Dockerfile 4.9%
  • Nix 3.8%
Find a file
Luna Borowska 58fc712d27
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful
Merge pull request 'run cargo fmt' (#105) from cargo-fmt into master
Reviewed-on: #105
2026-04-13 15:11:13 +02:00
.reuse Update author's name 2026-03-11 01:02:21 +01:00
LICENSES Initial commit 2023-12-25 19:14:52 +01:00
src run cargo fmt 2026-04-13 15:08:03 +02:00
.gitignore Update author's name 2026-03-11 01:02:21 +01:00
.woodpecker.yml update all dependencies 2026-04-13 14:59:12 +02:00
Cargo.lock update all dependencies 2026-04-13 14:59:12 +02:00
Cargo.lock.license Update author's name 2026-03-11 01:02:21 +01:00
Cargo.toml update all dependencies 2026-04-13 14:59:12 +02:00
Dockerfile update all dependencies 2026-04-13 14:59:12 +02:00
flake.lock update all dependencies 2026-04-13 14:59:12 +02:00
flake.lock.license Update author's name 2026-03-11 01:02:21 +01:00
flake.nix update all dependencies 2026-04-13 14:59:12 +02:00
README.md Merge pull request 'Mention repository_name format' (#73) from Andre601/plugin-codeberg-pages-deploy:feat/improve-docs into master 2026-03-11 01:41:40 +01:00
renovate.json Enable Nix dependency updates 2023-12-26 23:04:49 +01:00
renovate.json.license Update author's name 2026-03-11 01:02:21 +01:00

name description url tags author containerImage containerImageUrl
Codeberg Pages Deploy Deploy project to Codeberg Pages https://codeberg.org/sugar700/plugin-codeberg-pages-deploy
deploy
publish
codeberg
Luna Borowska codeberg.org/sugar700/plugin-codeberg-pages-deploy https://codeberg.org/sugar700/-/packages/container/plugin-codeberg-pages-deploy/latest

Codeberg Pages Deploy plugin for Woodpecker CI

Codeberg Pages Deploy plugin automatically deploys a directory to pages branch.

Usage

To use the plugin add a step similar to this after creating a directory containing static page contents.

deploy:
  image: codeberg.org/sugar700/plugin-codeberg-pages-deploy:1
  settings:
    folder: dist
    ssh_key:
      from_secret: ssh_key

Generate an SSH key using the following command.

ssh-keygen -t ed25519 -f /tmp/out

In Woodpecker CI settings, create a secret called ssh_key containing a private key stored in /tmp/out file.

In Codeberg repository settings, add a Deploy Key with Write Acccess using a public key stored in /tmp/out.pub file.

Configuration

Key Information Required
folder Directory containing static page contents. Yes
ssh_key SSH deploy key, usually passed as a secret. Yes
repository_name user/repository to deploy to. If not specified it will deploy to the repository the workflow is running from. No
branch Branch to deploy to. Defaults to pages. No
git_config_name Customizes the name that is attached to the deployment commit, defaults to commit author username. No
git_config_email Customizes the email that is attached to the deployment commit, defaults to commit author email address. No