Skip to content

hug-bot

hug-bot #1274

Workflow file for this run

name: hug-bot
on:
schedule:
- cron: "0 2/3 * * *"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v3
- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: install dependencies
run: pip install -r requirements.txt
- name: run bot
run: |
python hug-bot.py
env:
TWITTER_API_KEY: ${{ secrets.TWITTER_API_KEY }}
TWITTER_API_SECRET: ${{ secrets.TWITTER_API_SECRET }}
TWITTER_ACCESS_TOKEN: ${{ secrets.TWITTER_ACCESS_TOKEN }}
TWITTER_ACCESS_SECRET: ${{ secrets.TWITTER_ACCESS_SECRET }}
GIPHY_API_KEY: ${{ secrets.GIPHY_API_KEY }}