chore(ci): remove Telegram notification step
This commit is contained in:
@@ -101,19 +101,4 @@ jobs:
|
||||
build/app/outputs/bundle/release/app-release.aab \
|
||||
"ShanaiaBot@192.168.0.33:${DESTINO}/${AAB_NOMBRE}"
|
||||
echo "✅ APK: builds.freetimelab.es → farolero → v${VERSION}"
|
||||
echo "✅ AAB: builds.freetimelab.es → farolero → v${VERSION}"
|
||||
|
||||
- name: Notificar Telegram
|
||||
if: always()
|
||||
run: |
|
||||
VERSION="${{ steps.version.outputs.version }}"
|
||||
COMMIT="${{ steps.version.outputs.commit }}"
|
||||
BOT_TOKEN=*** -extract EnvironmentVariables:TELEGRAM_BOT_TOKEN raw /Users/freetlab/Library/LaunchAgents/ai.openclaw.gateway.plist 2>/dev/null || echo "")
|
||||
if [ -z "${BOT_TOKEN}" ]; then exit 0; fi
|
||||
if [ "${{ job.status }}" = "success" ]; then
|
||||
MSG="✅ *Farolero* v${VERSION} build OK · ${COMMIT}%0AAPK + AAB en builds.freetimelab.es"
|
||||
else
|
||||
MSG="❌ *Farolero* v${VERSION} build FAILED · ${COMMIT}"
|
||||
fi
|
||||
curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \
|
||||
-d "chat_id=221721467" -d "parse_mode=Markdown" -d "text=${MSG}" || true
|
||||
echo "✅ AAB: builds.freetimelab.es → farolero → v${VERSION}"
|
||||
Reference in New Issue
Block a user