feat: show sha256 hash of zip
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
0e52da297e
commit
7f86c5aeb7
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ pipeline:
|
||||||
commands:
|
commands:
|
||||||
- nix --experimental-features 'nix-command flakes' build
|
- nix --experimental-features 'nix-command flakes' build
|
||||||
- cd result/ && nix --experimental-features 'nix-command flakes' run nixpkgs#zip -- -r $DRONE_WORKSPACE/deploy.zip * && cd ..
|
- 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'
|
- '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:
|
secrets:
|
||||||
- GITEA_TOKEN
|
- GITEA_TOKEN
|
||||||
|
|
Loading…
Reference in a new issue