feat(Drone): Utilisation du token Matrix de l'organisation weko
This commit is contained in:
parent
32b52670da
commit
3b4c441992
14
.drone.yml
14
.drone.yml
|
@ -34,12 +34,6 @@ kind: secret
|
||||||
name: PRODUCTION_AWS_SECRET_ACCESS_KEY
|
name: PRODUCTION_AWS_SECRET_ACCESS_KEY
|
||||||
data: fCZeV+TBazRF7UAoRpyeKGQ0xvhzzbFp5vO7NXFsWu8IgHV/uD7fA0tQQYAqjKxu1OwTDitK/4rJQl20SGNqHw9X+pHWY4h2wDbOuhQD0L2VNIsuLpZcnipBbYA=
|
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
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
|
@ -96,13 +90,13 @@ steps:
|
||||||
- hugo deploy --environment production
|
- hugo deploy --environment production
|
||||||
|
|
||||||
- name: notify
|
- name: notify
|
||||||
image: plugins/matrix
|
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
|
||||||
settings:
|
settings:
|
||||||
homeserver: https://converser.eu
|
homeserver: https://converser.eu
|
||||||
roomid: "!QwOITmkKxRJJyCSDOZ:converser.eu"
|
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
|
||||||
userid: "@resilien:converser.eu"
|
userid: "resilien:converser.eu"
|
||||||
accesstoken:
|
accesstoken:
|
||||||
from_secret: MATRIX_TOKEN
|
from_secret: MATRIX_ACCESSTOKEN
|
||||||
when:
|
when:
|
||||||
status: [ failure ]
|
status: [ failure ]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue