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: