Skip to content

Commit

Permalink
docs: add woodpecker ci (#3516)
Browse files Browse the repository at this point in the history
This PR adds [woodpecker](https://woodpecker-ci.org) to the CI docs.

Signed-off-by: jolheiser <john.olheiser@gmail.com>
  • Loading branch information
jolheiser committed Oct 31, 2022
1 parent e269a1d commit 1e39e3c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
24 changes: 24 additions & 0 deletions www/docs/ci/woodpecker.md
@@ -0,0 +1,24 @@
# Woodpecker

By default, woodpecker only fetches tags on `tag` events. If you are not using a tag event, you will need to override the git plugin like so:

```yaml
clone:
git:
image: woodpeckerci/plugin-git
settings:
tags: true
```

Here is how to set up a basic release pipeline with [Woodpecker](https://woodpecker-ci.org) and [Gitea](https://gitea.io).

```yaml
pipeline:
release:
image: goreleaser/goreleaser
commands:
- goreleaser release
secrets: [ gitea_token ]
when:
event: tag
```
1 change: 1 addition & 0 deletions www/mkdocs.yml
Expand Up @@ -70,6 +70,7 @@ nav:
- ci/jenkins.md
- ci/semaphore.md
- ci/travis.md
- ci/woodpecker.md
- Customization:
- About: customization/index.md
- Basics:
Expand Down

0 comments on commit 1e39e3c

Please sign in to comment.