From 7357104f20e846bcd9e1ffab5861f466c421f7b7 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 20 Jun 2022 14:44:38 +0200 Subject: [PATCH] ci: make use of 'nix build' directly --- .drone.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 774b087..e297230 100644 --- a/.drone.yml +++ b/.drone.yml @@ -5,7 +5,7 @@ name: deploy CV steps: - name: build commands: - - nix develop -c make + - nix build - name: check commands: @@ -15,7 +15,8 @@ steps: commands: - nix run github:ambroisie/nix-config#drone-rsync environment: - SYNC_SOURCE: '*.pdf' + # Use trailing slash to sync to folder's *content* to the target + SYNC_SOURCE: 'result/share/' SYNC_HOST: from_secret: ssh_host SYNC_TARGET: