Skip to content

NotionAutomation

NotionAutomation #129

Workflow file for this run

name: NotionAutomation
on:
workflow_dispatch:
schedule:
- cron: "0 9 * * *"
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Install Python
uses: actions/setup-python@v5
with:
python-version: "3.13"
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Script
env:
NOTION_DATABASE_ID: ${{ secrets.NOTION_DATABASE_ID }}
NOTION_SECRET: ${{ secrets.NOTION_SECRET }}
GOOGLE_MAIL: ${{ secrets.GOOGLE_MAIL }}
GOOGLE_APP_PWD: ${{ secrets.GOOGLE_APP_PWD }}
run: python -m scripts.overviewAutomation