From b8e7a28d3169bcef8f4aad34f5813b4fe9988c90 Mon Sep 17 00:00:00 2001 From: Thomas Eppers Date: Mon, 25 Oct 2021 00:14:11 +0200 Subject: [PATCH] added tests for secrets --- .woodpecker.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index 174f556..1c39415 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,6 +6,19 @@ pipeline: - cargo build --release - cargo test --release + echo-test: + image: docker + commands: + - echo $discord_id + - echo $DISCORD_ID + + echo-tes2: + image: docker + commands: + - echo $discord_id + - echo $DISCORD_ID + secrets: [discord_id ] + notify: # http://plugins.drone.io/appleboy/drone-discord/ image: appleboy/drone-discord @@ -20,3 +33,4 @@ pipeline: {{else}} build {{build.number}} failed. Fix me please. {{/success}} + secrets: [ discord_id, discord_token]