-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (26 loc) · 777 Bytes
/
Copy pathmain.yml
File metadata and controls
33 lines (26 loc) · 777 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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