Fix publish command invocation

Run node publishing directly through the Comfy CLI without the external environment wrapper, and update the workflow test to prevent regressions.
This commit is contained in:
Dariusz L
2026-09-12 13:58:11 +02:00
parent b5ab69ec1c
commit 50b157e72b
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ jobs:
REGISTRY_ACCESS_TOKEN: ${{ secrets.REGISTRY_ACCESS_TOKEN }}
run: |
set +e
output="$(comfy --skip-prompt --no-enable-telemetry env comfy node publish --token "$REGISTRY_ACCESS_TOKEN" 2>&1)"
output="$(comfy --skip-prompt --no-enable-telemetry node publish --token "$REGISTRY_ACCESS_TOKEN" 2>&1)"
exit_code=$?
printf '%s\n' "$output"
+2 -1
View File
@@ -19,4 +19,5 @@ def test_publish_workflow_uses_current_python_runtime_without_the_external_wrapp
assert "actions/setup-python@v6" in workflow
assert "Comfy-Org/publish-node-action@main" not in workflow
assert "comfy node publish --token" in workflow
assert "comfy --skip-prompt --no-enable-telemetry node publish --token" in workflow
assert "env comfy node publish" not in workflow