Try to fix HOSTS variable

This commit is contained in:
pazpi 2025-12-07 22:19:39 +01:00
parent 28e9ef6a2c
commit 1cb9e1ea6a

View file

@ -40,7 +40,7 @@ jobs:
if: steps.changes.outputs.changed == 'true' if: steps.changes.outputs.changed == 'true'
run: | run: |
HOSTS=$(nix eval --json .#colmena --apply 'x: builtins.filter (n: n != "meta" && builtins.elem "lxc" (x.${n}.deployment.tags or [])) (builtins.attrNames x)') HOSTS=$(nix eval --json .#colmena --apply 'x: builtins.filter (n: n != "meta" && builtins.elem "lxc" (x.${n}.deployment.tags or [])) (builtins.attrNames x)')
echo "hosts=$HOSTS" >> $FORGEJO_OUTPUT echo "hosts="$HOSTS >> $FORGEJO_OUTPUT
echo "Discovered hosts: $HOSTS" echo "Discovered hosts: $HOSTS"
- name: Upload flake.lock - name: Upload flake.lock