This commit is contained in:
parent
82e7e6a96d
commit
1ee71fcc4e
28
.woodpecker.yml
Normal file
28
.woodpecker.yml
Normal file
@ -0,0 +1,28 @@
|
||||
pipeline:
|
||||
release-latest:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.t-juice.club/plugin-gotify
|
||||
registry: registry.t-juice.club
|
||||
username: woodpecker
|
||||
password:
|
||||
from_secret: registry_password
|
||||
tags:
|
||||
- latest
|
||||
- "${CI_COMMIT_SHA:0:8}"
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
|
||||
release-tagged:
|
||||
image: plugins/docker
|
||||
settings:
|
||||
repo: registry.t-juice.club/plugin-gotify
|
||||
registry: registry.t-juice.club
|
||||
username: woodpecker
|
||||
password:
|
||||
from_secret: registry_password
|
||||
tags:
|
||||
- "${CI_COMMIT_TAG}"
|
||||
when:
|
||||
event: [tag]
|
17
README.md
17
README.md
@ -1,3 +1,18 @@
|
||||
# plugin-gotify
|
||||
|
||||
Plugin for woodpecker to send messages to gotify.
|
||||
Plugin for woodpecker to send messages to gotify.
|
||||
|
||||
## Usage
|
||||
|
||||
```yaml
|
||||
pipeline:
|
||||
notification:
|
||||
image: registry.t-juice.club/plugin-gotify
|
||||
settings:
|
||||
gotify_url: https://gotify.t-juice.club
|
||||
gotify_token:
|
||||
from_secret: gotify_token
|
||||
title: "Message lol"
|
||||
message: |
|
||||
Notification message body
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user