File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Update Notion with Series Data
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ schedule :
8
+ - cron : " 0 * * * *"
9
+
10
+ jobs :
11
+ update-notion :
12
+ runs-on : ubuntu-latest
13
+
14
+ steps :
15
+ - name : Checkout code
16
+ uses : actions/checkout@v2
17
+
18
+ - name : Set up Python
19
+ uses : actions/setup-python@v2
20
+ with :
21
+ python-version : ' 3.8'
22
+
23
+ - name : Install dependencies
24
+ run : |
25
+ python -m pip install --upgrade pip
26
+ pip install gspread requests notion-client
27
+
28
+ - name : Run script
29
+ env :
30
+ NOTION_API_KEY : ${{ secrets.NOTION_API_KEY }}
31
+ TMDB_API_KEY : ${{ secrets.TMDB_API_KEY }}
32
+ GOOGLE_SHEETS_JSON : ${{ secrets.GOOGLE_SHEETS_JSON }}
33
+ SHEET_ID : ${{ secrets.SHEET_ID }}
34
+ run : |
35
+ python update_notion.py
You can’t perform that action at this time.
0 commit comments