From 7f86c5aeb7667f827e6c86a75cb11c4713afec8f Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Tue, 4 Jul 2023 14:36:35 +0100 Subject: [PATCH] feat: show sha256 hash of zip --- .woodpecker.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.woodpecker.yml b/.woodpecker.yml index cf84ac7..75a9451 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -6,6 +6,7 @@ pipeline: commands: - nix --experimental-features 'nix-command flakes' build - cd result/ && nix --experimental-features 'nix-command flakes' run nixpkgs#zip -- -r $DRONE_WORKSPACE/deploy.zip * && cd .. + - sha256sum deploy.zip - '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' secrets: - GITEA_TOKEN