ci: fix manual build in sourcehut build

(cherry picked from commit e4611630c3)
This commit is contained in:
Robert Helgesson 2024-05-26 01:25:03 +02:00
parent 569d928458
commit f3a4512166
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -9,6 +9,7 @@ environment:
NIX_CONFIG: "experimental-features = nix-command flakes" NIX_CONFIG: "experimental-features = nix-command flakes"
packages: packages:
- nixos.cachix - nixos.cachix
- nixos.jq
tasks: tasks:
- setup: | - setup: |
cachix use rycee cachix use rycee
@ -26,7 +27,7 @@ tasks:
if [[ $gitBranch == master ]]; then if [[ $gitBranch == master ]]; then
dirName="unstable" dirName="unstable"
else else
dirName="$(cat .release)" dirName="$(jq -r .release < release.json)"
fi fi
rsync --delete -r --info=stats \ rsync --delete -r --info=stats \