mirror of
https://github.com/lemeow125/Notes.git
synced 2025-04-04 17:11:34 +08:00
Add ntfy step
This commit is contained in:
parent
b003e10c7b
commit
c3e1eca5a6
2 changed files with 36 additions and 0 deletions
|
@ -22,6 +22,24 @@ steps:
|
|||
when:
|
||||
- branch: master
|
||||
event: push
|
||||
- name: ntfy
|
||||
image: codeberg.org/l-x/woodpecker-ntfy
|
||||
when:
|
||||
- event: push
|
||||
settings:
|
||||
url:
|
||||
from_secret: NTFY_URL
|
||||
title: >
|
||||
{{#success build.status}}
|
||||
Blog image build succeeded
|
||||
{{else}}
|
||||
Blog image build failed
|
||||
{{/success}}
|
||||
priority: urgent
|
||||
click: https://blog.06222001.xyz
|
||||
icon: https://blog.06222001.xyz/img/logo.svg
|
||||
tags: robot,${CI_REPO_NAME}
|
||||
message: ${CI_COMMIT_MESSAGE}
|
||||
|
||||
when:
|
||||
- branch: master
|
||||
|
|
|
@ -13,6 +13,24 @@ steps:
|
|||
when:
|
||||
- branch: master
|
||||
event: push
|
||||
- name: ntfy
|
||||
image: codeberg.org/l-x/woodpecker-ntfy
|
||||
when:
|
||||
- event: push
|
||||
settings:
|
||||
url:
|
||||
from_secret: NTFY_URL
|
||||
title: >
|
||||
{{#success build.status}}
|
||||
Blog deployment succeeded
|
||||
{{else}}
|
||||
Blog deployment failed
|
||||
{{/success}}
|
||||
priority: urgent
|
||||
click: https://blog.06222001.xyz
|
||||
icon: https://blog.06222001.xyz/img/logo.svg
|
||||
tags: robot,${CI_REPO_NAME}
|
||||
message: ${CI_COMMIT_MESSAGE}
|
||||
|
||||
when:
|
||||
- branch: master
|
||||
|
|
Loading…
Add table
Reference in a new issue