From 4e6b959d04b77fa215e91b53e28c6b95ea0aea86 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 12 Mar 2024 20:43:35 +0100 Subject: [PATCH] cleanup docs and examples --- docs/content/_index.md | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/docs/content/_index.md b/docs/content/_index.md index c74e328..2a65db0 100644 --- a/docs/content/_index.md +++ b/docs/content/_index.md @@ -21,17 +21,14 @@ Woodpecker CI plugin to send messages to a Matrix room. ## Usage ```YAML -kind: pipeline -name: default - steps: - name: notify image: quay.io/thegeeklab/matrix settings: homeserver: https://matrix.org - roomid: abcdefghijklmnopqrstuvwxyz:matrix.org + roomid: randomstring:matrix.org username: octocat - password: secret + password: random-secret ``` ### Parameters @@ -60,9 +57,9 @@ docker build --file Containerfile.multiarch --tag thegeeklab/wp-matrix . ```Shell docker run --rm \ - -e PLUGIN_ROOMID=0123456789abcdef:matrix.org \ - -e PLUGIN_USERNAME=yourbot \ - -e PLUGIN_PASSWORD=p455w0rd \ + -e PLUGIN_ROOMID=randomstring:matrix.org \ + -e PLUGIN_USERNAME=octocat \ + -e PLUGIN_PASSWORD=random-secret \ -v $(pwd):/build:z \ -w /build \ thegeeklab/wp-matrix