deploy-workflow: create docker compose file
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 7s
This commit is contained in:
@@ -31,12 +31,12 @@ jobs:
|
|||||||
PROXY_URL: ${{ secrets.PROXY_URL }}
|
PROXY_URL: ${{ secrets.PROXY_URL }}
|
||||||
MESSAGE: ${{ steps.prepare_message.outputs.escaped_message }}
|
MESSAGE: ${{ steps.prepare_message.outputs.escaped_message }}
|
||||||
run: |
|
run: |
|
||||||
sshpass -e ssh -p 22 "$SSH_USERNAME@$SSH_HOST" bash -s << 'EOT'
|
sshpass -e ssh -p 22 "$SSH_USERNAME@$SSH_HOST" bash -s << EOT
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
curl -s --connect-timeout 10 -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" \
|
curl -s --connect-timeout 10 -X POST "https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage" \
|
||||||
--proxy "${PROXY_URL}" \
|
--proxy "${PROXY_URL}" \
|
||||||
-d "chat_id=${TELEGRAM_CHAT}" \
|
-d "chat_id=${TELEGRAM_CHAT}" \
|
||||||
-d "parse_mode=MarkdownV2" \
|
-d "parse_mode=MarkdownV2" \
|
||||||
-d "text=${MESSAGE}"
|
-d "text=\$MESSAGE"
|
||||||
EOT
|
EOT
|
||||||
Reference in New Issue
Block a user