ci: fix branch detection

This commit is contained in:
arcnmx 2021-05-19 15:49:51 -07:00
parent 664ce62be8
commit 5b87b8dede

View file

@ -41,7 +41,7 @@ with lib; {
ci.command {
name = "niv-update-build";
displayName = "niv update build";
environment = [ "OPENSSH_PRIVATE_KEY" "CACHIX_SIGNING_KEY" ];
environment = [ "OPENSSH_PRIVATE_KEY" "CACHIX_SIGNING_KEY" "GITHUB_REF" ];
command = ''
if [[ -n $OPENSSH_PRIVATE_KEY ]]; then
mkdir ~/.ssh