PaperBot LFL #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PaperBot LFL | |
on: | |
schedule: | |
- cron: '0 15 * * *' # Runs at 7 AM PST (UTC-7) | |
workflow_dispatch: | |
jobs: | |
distribute: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' # Specify your Python version | |
- name: Install Dependencies | |
run: | | |
pip install -r requirements.txt # Assuming you have a requirements.txt | |
- name: Run Distributor Script | |
run: python distributor.py | |
env: | |
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }} | |