File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 1
- ## Netlify Deploy Site v1.0.0
1
+ # 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
2
8
3
9
Initial release.
4
10
Original file line number Diff line number Diff line change 84
84
fi
85
85
86
86
TEMP_JSON="${{runner.temp}}/output.json"
87
- netlify deploy --json --debug "${ARGS[@]}" | tee "$TEMP_JSON"
87
+ 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"
88
91
89
92
jq -r '"site-name=" + .site_name' "$TEMP_JSON" >> $GITHUB_OUTPUT
90
93
jq -r '"deploy-id=" + .deploy_id' "$TEMP_JSON" >> $GITHUB_OUTPUT
You can’t perform that action at this time.
0 commit comments