Skip to content

Commit 473cea2

Browse files
git pull origin main # যদি node.js বট হয় npm install npm run start # অথবা python বট python3 bot.py
Signed-off-by: najmulh112233-crypto <[email protected]>
1 parent fbd1e03 commit 473cea2

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

.github/workflows/python-package-conda.yml

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,33 @@
1-
name: Python Package using Conda
1+
name: Run Telegram Bot
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
schedule:
8+
- cron: "*/10 * * * *" # প্রতি 10 মিনিটে চেক করবে
9+
10+
jobs:
11+
run-bot:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- name: Checkout Repository
16+
uses: actions/checkout@v3
17+
18+
- name: Set up Python
19+
uses: actions/setup-python@v4
20+
with:
21+
python-version: '3.11'
22+
23+
- name: Install Dependencies
24+
run: |
25+
python -m pip install --upgrade pip
26+
pip install -r requirements.txt
27+
28+
- name: Run Bot
29+
run: |
30+
python bot.py: Python Package using Conda
231
332
on: [push]
433

0 commit comments

Comments
 (0)