Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
on:
schedule:
- cron: '0 12 * * *' # Daily at 12:00 PM UTC
workflow_dispatch: #
workflow_dispatch:

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -442,17 +442,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
ref: main

- name: Verify Telegram token
env:
TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }}
run: |
if [ -z "${TELEGRAM_TOKEN}" ]; then
echo "ERROR: TELEGRAM_TOKEN is not set or is empty"
exit 1
fi
echo "TELEGRAM_TOKEN length: ${#TELEGRAM_TOKEN}"
echo "TELEGRAM_TOKEN (first 3 and last 3 chars): ${TELEGRAM_TOKEN:0:3}...${TELEGRAM_TOKEN: -3}"

- name: Set branch to main for build
id: determine_branch
run: |
Expand Down Expand Up @@ -716,7 +705,6 @@ jobs:
DOWNLOAD_URL="https://download.appdevforall.org/${APK_FILENAME}"
MESSAGE=$(printf "Download: %s\n\n%s" "$DOWNLOAD_URL" "$GIT_LOG")
MESSAGE="${MESSAGE:0:4096}"
printf '%s' "$MESSAGE" | od -c
curl -s -X POST -H "Content-Type: application/json" \
-d "$(jq -n --arg chat_id "$TELEGRAM_EARLY_ACCESS_CHAT_ID" --arg text "$MESSAGE" '{chat_id: $chat_id, text: $text}')" \
"https://api.telegram.org/bot${TELEGRAM_TOKEN}/sendMessage"
Expand Down
Loading