Add an email notification to woodpecker-ci
This commit is contained in:
parent
8ff2a03a07
commit
852ecfaf33
@ -1,7 +1,5 @@
|
|||||||
---
|
|
||||||
when:
|
when:
|
||||||
event: tag
|
event: tag
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
build the plugin:
|
build the plugin:
|
||||||
image: ubuntu:22.04
|
image: ubuntu:22.04
|
||||||
@ -21,7 +19,6 @@ steps:
|
|||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
|
-DCMAKE_INSTALL_PREFIX=/usr -Wno-dev
|
||||||
- cmake --build build
|
- cmake --build build
|
||||||
|
|
||||||
prepare release assets:
|
prepare release assets:
|
||||||
image: ubuntu:22.04
|
image: ubuntu:22.04
|
||||||
commands:
|
commands:
|
||||||
@ -38,7 +35,6 @@ steps:
|
|||||||
- |
|
- |
|
||||||
zip -r paulxstretch-vst3.zip VST3 && \
|
zip -r paulxstretch-vst3.zip VST3 && \
|
||||||
mv paulxstretch-vst3.zip $DRONE_WORKSPACE/dist/
|
mv paulxstretch-vst3.zip $DRONE_WORKSPACE/dist/
|
||||||
|
|
||||||
publish the release:
|
publish the release:
|
||||||
image: woodpeckerci/plugin-gitea-release
|
image: woodpeckerci/plugin-gitea-release
|
||||||
settings:
|
settings:
|
||||||
@ -47,4 +43,16 @@ steps:
|
|||||||
- dist/*
|
- dist/*
|
||||||
api_key:
|
api_key:
|
||||||
from_secret: GITEA_ACCESS_TOKEN_RELEASER
|
from_secret: GITEA_ACCESS_TOKEN_RELEASER
|
||||||
|
email notification:
|
||||||
|
image: deblan/woodpecker-email
|
||||||
|
settings:
|
||||||
|
from.address: woody@badhouseplants.net
|
||||||
|
from.name: Woody Woodpecker
|
||||||
|
host: badhouseplants.net
|
||||||
|
username:
|
||||||
|
from_secret: smtp_username
|
||||||
|
password:
|
||||||
|
from_secret: smtp_password
|
||||||
|
recipients:
|
||||||
|
- allanger@badhouseplants.net
|
||||||
target: main
|
target: main
|
Loading…
Reference in New Issue
Block a user