ci: set profile even without systemd unit
Build & Deploy (Nix) / build-and-deploy (backend) (push) Failing after 1m27s
Build & Deploy (Nix) / build-and-deploy (discord-gateway) (push) Failing after 2m29s
Build & Deploy (Nix) / build-and-deploy (proxy) (push) Failing after 2m24s
Build & Deploy (Nix) / build-and-deploy (backend) (push) Failing after 1m27s
Build & Deploy (Nix) / build-and-deploy (discord-gateway) (push) Failing after 2m29s
Build & Deploy (Nix) / build-and-deploy (proxy) (push) Failing after 2m24s
This commit is contained in:
@@ -83,6 +83,8 @@ jobs:
|
||||
sleep 3
|
||||
systemctl status $UNIT --no-pager 2>&1 | head -12
|
||||
else
|
||||
echo \"Unit $UNIT not yet created — run setup first\"
|
||||
echo \"=== $UNIT: profile set, unit not yet created ==="
|
||||
echo \"Run: nix-env --profile $PROFILE --set $STORE_PATH\"
|
||||
echo \"Create: /etc/systemd/system/$UNIT.service\"
|
||||
fi
|
||||
" 2>&1
|
||||
Reference in New Issue
Block a user