We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
netlify deploy
1 parent 53b0906 commit f3b9eb3Copy full SHA for f3b9eb3
CHANGELOG.md
@@ -1,4 +1,10 @@
1
-## Netlify Deploy Site v1.0.0
+# Netlify Deploy Site v1.0.1
2
+
3
+## BUG FIXES
4
5
+* Fix issue where `netlify deploy` started outputting debug information to stdout.
6
7
+# Netlify Deploy Site v1.0.0
8
9
Initial release.
10
action.yml
@@ -84,7 +84,10 @@ runs:
84
fi
85
86
TEMP_JSON="${{runner.temp}}/output.json"
87
- netlify deploy --json --debug "${ARGS[@]}" | tee "$TEMP_JSON"
+ netlify deploy --json --debug "${ARGS[@]}" > >(tee "$TEMP_JSON")
88
89
+ # remove non-json output
90
+ gawk -i inplace 'BEGIN { p=0 }; /^{$/ { p=1 }; p { print $0 }; p==1 && /^}$/ { p=0 }' "$TEMP_JSON"
91
92
jq -r '"site-name=" + .site_name' "$TEMP_JSON" >> $GITHUB_OUTPUT
93
jq -r '"deploy-id=" + .deploy_id' "$TEMP_JSON" >> $GITHUB_OUTPUT
0 commit comments