Add CI (if it works)
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
754c2c6e3d
commit
601ebbf357
1 changed files with 36 additions and 0 deletions
36
.woodpecker.yml
Normal file
36
.woodpecker.yml
Normal file
|
@ -0,0 +1,36 @@
|
||||||
|
workspace:
|
||||||
|
base: /data
|
||||||
|
path: sources
|
||||||
|
|
||||||
|
pipeline:
|
||||||
|
build:
|
||||||
|
image: dock.mau.dev/maubot/maubot:latest
|
||||||
|
commands:
|
||||||
|
- mbc build
|
||||||
|
release:
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
base_url: https://git.dennogumi.org
|
||||||
|
api_key:
|
||||||
|
from_secret: gitea_token
|
||||||
|
files:
|
||||||
|
- /data/sources/*.mbp
|
||||||
|
checksum:
|
||||||
|
- sha256
|
||||||
|
when:
|
||||||
|
event: tag
|
||||||
|
notify:
|
||||||
|
image: plugins/matrix
|
||||||
|
settings:
|
||||||
|
homeserver: https://conference.heavensinferno.net
|
||||||
|
roomid:
|
||||||
|
from_secret: roomid
|
||||||
|
accesstoken:
|
||||||
|
from_secret: access_token
|
||||||
|
userid:
|
||||||
|
from_secret: user_id
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
|
- success
|
||||||
|
|
Loading…
Add table
Reference in a new issue