Skip to content

Execute

Execute #158

Workflow file for this run

name: Execute
on:
schedule:
- cron: '0 13 * 8-12,1-4 3' # Every Wednesday Aug - April
workflow_dispatch:
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.10"
- uses: actions/cache@v1
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('requirements.txt') }}-${{ hashFiles('dev-requirements.txt') }}
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run
run: ./task-bot.py srobo/tasks