From faa4dbbd3a8a45c26496bc42a3a2ba70f4af2d6d Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Tue, 20 Dec 2022 18:03:47 +0000 Subject: [PATCH] fix(ci): put the zip in the right place? --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index c31c536..8a6680d 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: image: nixos/nix commands: - nix --experimental-features 'nix-command flakes' build - - cd result/ && nix --experimental-features 'nix-command flakes' run nixpkgs#zip -- -r ../deploy.zip * && cd .. + - cd result/ && nix --experimental-features 'nix-command flakes' run nixpkgs#zip -- -r $DRONE_WORKSPACE/deploy.zip * && cd .. - 'nix --experimental-features "nix-command flakes" run nixpkgs#curl -- --fail --upload-file deploy.zip -H "Authorization: token $GITEA_TOKEN" https://git.ashhhleyyy.dev/api/packages/ash/generic/caaard/$DRONE_COMMIT_SHA/caaard.zip' environment: GITEA_TOKEN: