mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
merge #5
This commit is contained in:
commit
67f749c1dd
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
@ -73,9 +73,9 @@ with lib; {
|
|||
if nix build -Lf . hosts.{athame,yule,samhain}.config.system.build.toplevel; then
|
||||
if [[ -n $CACHIX_SIGNING_KEY ]]; then
|
||||
nix build --no-link -Lf . sourceCache.all
|
||||
cachix push kittywitch $(nix eval -f . sourceCache.allStr)
|
||||
cachix push kittywitch $(nix eval --raw -f . sourceCache.allStr)
|
||||
|
||||
cachix push kittywitch $(readlink result*/) &
|
||||
cachix push kittywitch result*/ &
|
||||
CACHIX_PUSH=$!
|
||||
fi
|
||||
if [[ -n $OPENSSH_PRIVATE_KEY ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue