deploy-workflow: create docker compose file
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 6s
This commit is contained in:
@@ -110,12 +110,12 @@ jobs:
|
|||||||
-d "chat_id=${TELEGRAM_CHAT}" \
|
-d "chat_id=${TELEGRAM_CHAT}" \
|
||||||
-d "parse_mode=HTML" \
|
-d "parse_mode=HTML" \
|
||||||
--data-urlencode "text=${FAILURE_MESSAGE}" > /dev/null
|
--data-urlencode "text=${FAILURE_MESSAGE}" > /dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendDocument" \
|
curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendDocument" \
|
||||||
--proxy "${PROXY_URL}" \
|
--proxy "${PROXY_URL}" \
|
||||||
-F "chat_id=${TELEGRAM_CHAT}" \
|
-F "chat_id=${TELEGRAM_CHAT}" \
|
||||||
-F "document=@${DEPLOY_LOG_FILE}" > /dev/null
|
-F "document=@${DEPLOY_LOG_FILE}" > /dev/null
|
||||||
fi
|
|
||||||
|
|
||||||
rm -f ${DEPLOY_LOG_FILE}
|
rm -f ${DEPLOY_LOG_FILE}
|
||||||
' > /dev/null 2>&1 &
|
' > /dev/null 2>&1 &
|
||||||
|
|||||||
Reference in New Issue
Block a user