chore: add Gitea Actions support and secrets checklist
This commit is contained in:
1 parent
52aac9f507
commit
8d9eef0f4f
2 files changed
+52
-5
No files matched your search
@@ -640,7 +640,7 @@ jobs:
|
||||
MESSAGE="$MESSAGE""━━━━━━━━━━━━━━━━━━━━━━"$'\n'
|
||||
MESSAGE="$MESSAGE""🌐 EdgeOne Pages: $EDGEONE_STATUS"$'\n'
|
||||
MESSAGE="$MESSAGE""☁️ UpYun: $UPYUN_STATUS"$'\n\n'
|
||||
MESSAGE="$MESSAGE""🔗 [查看详情](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"
|
||||
MESSAGE="$MESSAGE""🔗 [查看详情](http://23.254.236.47:3001/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }})"
|
||||
|
||||
curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
|
||||
-d chat_id="${TELEGRAM_CHAT_ID}" \
|
||||
@@ -715,7 +715,7 @@ jobs:
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""━━━━━━━━━━━━━━━━━━━━━━"$'\n'
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""🌐 EdgeOne Pages: $EDGEONE_STATUS"$'\n'
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""☁️ UpYun: $UPYUN_STATUS"$'\n\n'
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""🔗 查看详情: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""🔗 查看详情: http://23.254.236.47:3001/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}"
|
||||
|
||||
echo "📤 发送飞书通知..."
|
||||
echo "Message length: ${#MESSAGE_TEXT}"
|
||||
@@ -778,7 +778,7 @@ jobs:
|
||||
|
||||
🔗 查看详情
|
||||
──────────────────────────────────
|
||||
https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
|
||||
http://23.254.236.47:3001/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
@@ -897,7 +897,7 @@ jobs:
|
||||
MESSAGE="$MESSAGE""🌐 Deploy EdgeOne: $EDGEONE_STATUS"$'\n'
|
||||
MESSAGE="$MESSAGE""☁️ Deploy UpYun: $UPYUN_STATUS"$'\n'
|
||||
MESSAGE="$MESSAGE""📤 Finalize: $FINALIZE_STATUS"$'\n\n'
|
||||
MESSAGE="$MESSAGE""🔗 [查看详情](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})"
|
||||
MESSAGE="$MESSAGE""🔗 [查看详情](http://23.254.236.47:3001/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }})"
|
||||
|
||||
curl -s -X POST "https://api.telegram.org/bot${TELEGRAM_BOT_TOKEN}/sendMessage" \
|
||||
-d chat_id="${TELEGRAM_CHAT_ID}" \
|
||||
@@ -947,7 +947,7 @@ jobs:
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""🌐 Deploy EdgeOne: $EDGEONE_STATUS"$'\n'
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""☁️ Deploy UpYun: $UPYUN_STATUS"$'\n'
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""📤 Finalize: $FINALIZE_STATUS"$'\n\n'
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""🔗 查看详情: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
||||
MESSAGE_TEXT="$MESSAGE_TEXT""🔗 查看详情: http://23.254.236.47:3001/${{ gitea.repository }}/actions/runs/${{ gitea.run_id }}"
|
||||
|
||||
curl -s -X POST "$FEISHU_WEBHOOK_URL" \
|
||||
-H "Content-Type: application/json" \
|
||||
|
||||
Reference in new issue
Block a user