From aa7e1cdd9e9e40c1ca013546791702560673faee Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Mon, 18 Nov 2024 18:12:58 +0100 Subject: [PATCH] ci: remove last "secrets" usage and migrate to from_secret (#4372) (#4407) --- .woodpecker/docs.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.woodpecker/docs.yaml b/.woodpecker/docs.yaml index 1a059c14b..a403cb21f 100644 --- a/.woodpecker/docs.yaml +++ b/.woodpecker/docs.yaml @@ -74,8 +74,9 @@ steps: deploy-prepare: image: *alpine_image - secrets: - - BOT_PRIVATE_KEY + environment: + BOT_PRIVATE_KEY: + from_secret: BOT_PRIVATE_KEY commands: - apk add openssh-client git - mkdir -p $HOME/.ssh @@ -127,8 +128,9 @@ steps: deploy: image: *alpine_image - secrets: - - BOT_PRIVATE_KEY + environment: + BOT_PRIVATE_KEY: + from_secret: BOT_PRIVATE_KEY commands: - apk add openssh-client rsync git - mkdir -p $HOME/.ssh