From 8197b71239741a468f6679f7388194007ec8e621 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Thu, 27 Jun 2024 10:41:25 +0000 Subject: [PATCH] ci: remove deprecated syntax --- .woodpecker/deploy.yml | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index c646113..d7d07a7 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -32,31 +32,31 @@ steps: environment: # Trailing slash to synchronize the folder's *content* to the target - SYNC_SOURCE=public/ - secrets: - - source: ssh_key - target: sync_key - - source: ssh_port - target: sync_port - - source: ${SSH_TARGET} - target: sync_target - - source: ssh_user - target: sync_username - - source: ssh_host - target: sync_host + environment: + SYNC_KEY: + from_secret: ssh_key + SYNC_PORT: + from_secret: ssh_port + SYNC_TARGET: + from_secret: ${SSH_TARGET} + SYNC_USERNAME: + from_secret: ssh_user + SYNC_HOST: + from_secret: ssh_host commands: - "nix run github:ambroisie/nix-config#drone-rsync" - name: notify image: bash - secrets: - - source: matrix_homeserver - target: address - - source: matrix_password - target: pass - - source: matrix_roomid - target: room - - source: matrix_username - target: user + environment: + ADDRESS: + from_secret: matrix_homeserver + ROOM: + from_secret: matrix_roomid + USER: + from_secret: matrix_username + PASS: + from_secret: matrix_password commands: - nix run github:ambroisie/matrix-notifier when: