Skip to content

Commit 7998f33

Browse files
committed
Echo action cmd during debug
The cmd itself has senstive info such as user configs so it makes sense to hide it under the debug flag like we are for the config itself.
1 parent e281fb9 commit 7998f33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

github-action/src/deploy-certificate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,8 @@ do
143143
)
144144
if [[ "$debug" == true ]]; then
145145
az_cmd+=("--debug")
146+
echo "${az_cmd[@]}"
146147
fi
147-
echo "${az_cmd[@]}"
148148
set +e
149149
"${az_cmd[@]}"
150150
set -e

github-action/src/deploy-config.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ az_cmd=(
177177

178178
if [[ "$debug" == true ]]; then
179179
az_cmd+=("--debug")
180+
echo "${az_cmd[@]}"
180181
fi
181182

182-
echo "${az_cmd[@]}"
183183
"${az_cmd[@]}"

0 commit comments

Comments
 (0)