Skip to content

Update deploy.yml

Update deploy.yml #1

Workflow file for this run

name: Run WhatsApp Bot
on:
push:
branches:
- main
jobs:
run-bot:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Run bot
run: node bot.js
env:
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
MONGO_URI: ${{ secrets.MONGO_URI }}