feat(Drone): Utilisation du token Matrix de l'organisation weko
This commit is contained in:
parent
f0bba50938
commit
116db0e203
14
.drone.yml
14
.drone.yml
|
@ -34,12 +34,6 @@ kind: secret
|
|||
name: PRODUCTION_AWS_SECRET_ACCESS_KEY
|
||||
data: 1oL1XSfD86/BR+NA2XyhGDGUmd9+4d7Br1IFcP/63hekgtzyPsXPKZuy30ruFJisJsskl/1+gs2GJ+XNLcdFJzMpx7BwKBrLkCBS/pQy2xvXbUzJPd6HIiSyrhY=
|
||||
|
||||
---
|
||||
# drone encrypt weko/lestoitsduval $MATRIX_TOKEN
|
||||
kind: secret
|
||||
name: MATRIX_TOKEN
|
||||
data: ktyee5rgjCphBsXt5+mGZ2VdiaMT4NXbWzrdk0eZySnlxNe+N0JGGEnxFY+CIOds1rlgIlW/FyWEnMhSczhTCmYP7YMOWfc=
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
|
@ -93,13 +87,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 ]
|
||||
|
||||
|
|
Loading…
Reference in New Issue