feat(Drone): Utilisation du token Matrix de l'organisation weko

This commit is contained in:
Simon 2023-01-13 15:42:42 +01:00
parent 32b52670da
commit 3b4c441992
1 changed files with 4 additions and 10 deletions

View File

@ -34,12 +34,6 @@ kind: secret
name: PRODUCTION_AWS_SECRET_ACCESS_KEY
data: fCZeV+TBazRF7UAoRpyeKGQ0xvhzzbFp5vO7NXFsWu8IgHV/uD7fA0tQQYAqjKxu1OwTDitK/4rJQl20SGNqHw9X+pHWY4h2wDbOuhQD0L2VNIsuLpZcnipBbYA=
---
# drone encrypt weko/cremeaux $MATRIX_TOKEN
kind: secret
name: MATRIX_TOKEN
data: HCEHjxtuUh/Qr+GwNAbCMobNcbq8QAJy1yk/baPesuHgQoCPLFbLU9rdmG/U/KXPSAWsufketMDo2lhwa7gXouObUyDDt8c=
---
kind: pipeline
type: docker
@ -96,13 +90,13 @@ steps:
- hugo deploy --environment production
- name: notify
image: plugins/matrix
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
settings:
homeserver: https://converser.eu
roomid: "!QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "@resilien:converser.eu"
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "resilien:converser.eu"
accesstoken:
from_secret: MATRIX_TOKEN
from_secret: MATRIX_ACCESSTOKEN
when:
status: [ failure ]