This repository was archived by the owner on Nov 14, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +46
-1
lines changed Expand file tree Collapse file tree 3 files changed +46
-1
lines changed Original file line number Diff line number Diff line change 1+ name : Notion2Github
2+ on :
3+ schedule :
4+ - cron : " 0 14 * * *"
5+ jobs :
6+ automatic-syncronization-from-notion-to-github :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - name : Checkout code
10+ uses : actions/checkout@v2
11+
12+ - name : Notion2Github
13+ uses : ./
14+ with :
15+ database-url : " https://www.notion.so/acc3dfd0339e4cacb5baae8673fddfad"
16+ env :
17+ NOTION_TOKEN : ${{ secrets.NOTION_TOKEN }}
18+
19+ - name : Format documents
20+ 21+ with :
22+ prettier_options : --write ./docs/**/*.md
23+ commit_message : " docs: Update docs (auto)"
24+ env :
25+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 77
88WORKDIR /usr/src/app
99
10- COPY requirements.txt main.py narkdown.config.json ./
10+ COPY requirements.txt main.py $GITHUB_WORKSPACE/ narkdown.config.json* ./
1111
1212RUN pip install -r requirements.txt
1313
Original file line number Diff line number Diff line change 1+ {
2+ "exportConfig" : {
3+ "docsDirectory" : " ./docs/v1.2.1/" ,
4+ "recursiveExport" : true ,
5+ "createPageDirectory" : true ,
6+ "addMetadata" : false ,
7+ "lowerPathname" : true ,
8+ "lowerFilename" : true ,
9+ "lineBreak" : false
10+ },
11+ "databaseConfig" : {
12+ "categoryColumnName" : " Category" ,
13+ "tagsColumnName" : " Tags" ,
14+ "createdTimeColumnName" : " Created Time" ,
15+ "statusColumnName" : " Status" ,
16+ "currentStatus" : " ✅ Completed" ,
17+ "nextStatus" : " 🖨 Published" ,
18+ "filters" : {}
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments