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

This commit is contained in:
Simon 2023-01-13 14:19:42 +01:00
parent f0bba50938
commit 116db0e203
1 changed files with 4 additions and 10 deletions

View File

@ -34,12 +34,6 @@ kind: secret
name: PRODUCTION_AWS_SECRET_ACCESS_KEY name: PRODUCTION_AWS_SECRET_ACCESS_KEY
data: 1oL1XSfD86/BR+NA2XyhGDGUmd9+4d7Br1IFcP/63hekgtzyPsXPKZuy30ruFJisJsskl/1+gs2GJ+XNLcdFJzMpx7BwKBrLkCBS/pQy2xvXbUzJPd6HIiSyrhY= 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 kind: pipeline
type: docker type: docker
@ -93,13 +87,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 ]