This commit is contained in:
parent
2457c13302
commit
0db56e959a
@ -44,9 +44,6 @@ pipeline:
|
|||||||
notify-matrix-success:
|
notify-matrix-success:
|
||||||
image: code.balsillie.net/containers/woodpecker-util
|
image: code.balsillie.net/containers/woodpecker-util
|
||||||
pull: false
|
pull: false
|
||||||
when:
|
|
||||||
- status:
|
|
||||||
- success
|
|
||||||
environment:
|
environment:
|
||||||
*vars
|
*vars
|
||||||
secrets:
|
secrets:
|
||||||
@ -57,18 +54,18 @@ pipeline:
|
|||||||
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
||||||
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has been completed and pushed."
|
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has been completed and pushed."
|
||||||
|
|
||||||
notify-matrix-failure:
|
# notify-matrix-failure:
|
||||||
image: code.balsillie.net/containers/woodpecker-util
|
# image: code.balsillie.net/containers/woodpecker-util
|
||||||
pull: false
|
# pull: false
|
||||||
when:
|
# when:
|
||||||
- status:
|
# - status:
|
||||||
- failure
|
# - failure
|
||||||
environment:
|
# environment:
|
||||||
*vars
|
# *vars
|
||||||
secrets:
|
# secrets:
|
||||||
- source: MATRIX_ACCESS_TOKEN
|
# - source: MATRIX_ACCESS_TOKEN
|
||||||
target: MATRIX_ACCESS_TOKEN
|
# target: MATRIX_ACCESS_TOKEN
|
||||||
commands:
|
# commands:
|
||||||
- shoutrrr send
|
# - shoutrrr send
|
||||||
--url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
# --url matrix://$${MATRIX_ACCESS_TOKEN}@$${MATRIX_HOST}:$${MATRIX_PORT}/?rooms=$${MATRIX_ROOM}
|
||||||
--message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has failed."
|
# --message "New image build of $${CI_REPO}, $${CI_COMMIT_TAG}, has failed."
|
Loading…
Reference in New Issue
Block a user