fix(ci): put the zip in the right place?
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
0bf868b658
commit
faa4dbbd3a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ steps:
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
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 ../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'
|
- '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:
|
environment:
|
||||||
GITEA_TOKEN:
|
GITEA_TOKEN:
|
||||||
|
|
Loading…
Reference in a new issue