From fb021ad3b3f8c6c000bf243f16e35a13552feff7 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 20 Jun 2022 14:37:02 +0200 Subject: [PATCH] ci: migrate to drone-rsync --- .drone.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.drone.yml b/.drone.yml index d241763..774b087 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,19 +13,18 @@ steps: - name: deploy commands: - - nix run github:ambroisie/nix-config#drone-scp + - nix run github:ambroisie/nix-config#drone-rsync environment: - SCP_SOURCE: '*.pdf' - SCP_RM: true # Make sure only the newly generated files are left - SCP_HOST: + SYNC_SOURCE: '*.pdf' + SYNC_HOST: from_secret: ssh_host - SCP_TARGET: + SYNC_TARGET: from_secret: ssh_target - SCP_USERNAME: + SYNC_USERNAME: from_secret: ssh_user - SCP_KEY: + SYNC_KEY: from_secret: ssh_key - SCP_PORT: + SYNC_PORT: from_secret: ssh_port when: branch: