name: Notify Telegram (manual) on: workflow_dispatch: jobs: notify: name: Send test deploy notification runs-on: ubuntu-latest timeout-minutes: 10 steps: - uses: actions/checkout@v4 - name: Notify Telegram env: DEPLOY_SHA: ${{ github.sha }} DEPLOY_STATUS: success DEPLOY_COMMIT_SUBJECT: manual notify test TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} TELEGRAM_GROUP_CHAT_ID: ${{ secrets.TELEGRAM_GROUP_CHAT_ID }} TELEGRAM_GROUP_THREAD_ID: ${{ secrets.TELEGRAM_GROUP_THREAD_ID }} TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} run: | set -euo pipefail export DEPLOY_VERSION="$(node -p "require('./package.json').version" 2>/dev/null || echo '?')" chmod +x scripts/notify-from-finland.sh scripts/notify-ops-telegram.sh scripts/notify-deploy.sh ./scripts/notify-from-finland.sh