diff --git a/.github/workflows/action_release_message.yml b/.github/workflows/action_release_message.yml index 6f2ad059b..d70a79784 100644 --- a/.github/workflows/action_release_message.yml +++ b/.github/workflows/action_release_message.yml @@ -18,7 +18,7 @@ jobs: - name: Install Requirements run: pip install pyTelegramBotAPI - name: Send Message - run: python send_release_message.py + run: python examples/send_release_message.py env: TOKEN: ${{ secrets.TOKEN }} CHAT_ID: ${{ vars.CHAT_ID }} diff --git a/send_release_message.py b/examples/send_release_message.py similarity index 79% rename from send_release_message.py rename to examples/send_release_message.py index 8b4f7addd..715257d5f 100644 --- a/send_release_message.py +++ b/examples/send_release_message.py @@ -1,3 +1,8 @@ +#!/usr/bin/python + +# This is a simple script that sends a message to a defined chat_id using GitHub Actions. +# It was created alongside action_release_message.yml + import telebot import os