Skip to content

GitHub actions Zulip Bot #4533

GitHub actions Zulip Bot

GitHub actions Zulip Bot #4533

name: GitHub actions Zulip Bot
on:
push:
branches: ["master"]
schedule:
- cron: "27 */1 * * *"
env:
ZULIP_API_KEY: ${{ secrets.ZULIP_API_KEY }}
ZULIP_EMAIL: ${{ secrets.ZULIP_EMAIL }}
ZULIP_SITE: ${{ secrets.ZULIP_SITE}}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.x"
- name: Install dependencies
run: pip install zulip feedparser
- name: Run script
run: python main.py