add echos for better debugging
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3624631433
commit
3b5080d963
|
@ -37,6 +37,7 @@ if [ "${PLUGIN_GITEA_DOMAIN:+set}" = set ]; then
|
|||
exit 1;
|
||||
fi
|
||||
if [ "${PLUGIN_REPO:-null}" = null ]; then
|
||||
echo "Falling back to drone repo name";
|
||||
PLUGIN_REPO=$CI_REPO_NAME
|
||||
fi
|
||||
|
||||
|
@ -50,8 +51,10 @@ if [ "${PLUGIN_GITEA_DOMAIN:+set}" = set ]; then
|
|||
\"draft\": false,
|
||||
\"tag_name\": \"$CURRENTTAG\"
|
||||
}"
|
||||
echo "Release created";
|
||||
fi
|
||||
if [ "${PLUGIN_MATRIX_SERVER:+set}" = set ]; then
|
||||
echo "Detected matrix server";
|
||||
if [ "${PLUGIN_MATRIX_USER:-null}" = null ]; then
|
||||
echo "No matrix username provided";
|
||||
exit 3;
|
||||
|
@ -83,4 +86,5 @@ if [ "${PLUGIN_MATRIX_SERVER:+set}" = set ]; then
|
|||
\"format\": \"org.matrix.custom.html\",
|
||||
\"formatted_body\": \"$FORMATTED_CHANGES\"
|
||||
}"
|
||||
echo "Notification sent";
|
||||
fi
|
Loading…
Reference in New Issue