To get started, follow these steps:
Start by forking this repository to your own GitHub account. Click the button below to fork:
You'll need a session ID to run the bot. Click the button below to obtain your session ID:
mounthly plan wa bot deploy https://wa.me/94762498519?text=mounthly_plan✨
youtube how to deploy https://youtu.be/sOXPWPHM32w?si=e1u5V8ouLRYgzkTa
name: Node.js CI
on:
push:
branches:
- main
pull_request:
branches:
- main
schedule:
- cron: '0 */6 * * *' # Relance toutes les 6 heures
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm install
- name: Install FFmpeg
run: sudo apt-get install -y ffmpeg
- name: Start application with timeout
run: |
timeout 21590s npm start # Limite l'exécution à 5h 59m 50s
- name: Save state (Optional)
run: |
./save_state.sh