Skip to content
This repository was archived by the owner on Nov 14, 2021. It is now read-only.

Commit 8331466

Browse files
committed
feat: Update notion2github workflow
1 parent 97ca484 commit 8331466

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Notion2Github
22
on:
33
schedule:
4-
- cron: "0 14 * * *"
4+
- cron: '0 14 * * *'
55
jobs:
66
automatic-syncronization-from-notion-to-github:
77
runs-on: ubuntu-latest
@@ -12,14 +12,17 @@ jobs:
1212
- name: Notion2Github
1313
uses: ./
1414
with:
15-
database-url: "https://www.notion.so/acc3dfd0339e4cacb5baae8673fddfad"
15+
database-url: 'https://www.notion.so/acc3dfd0339e4cacb5baae8673fddfad'
16+
docs-directory: docs
17+
filter-prop: ✅ Completed
18+
filter-value: 🖨 Published
1619
env:
1720
NOTION_TOKEN: ${{ secrets.NOTION_TOKEN }}
1821

1922
- name: Format documents
2023
uses: creyD/[email protected]
2124
with:
2225
prettier_options: --write ./docs/**/*.md
23-
commit_message: "docs: Update docs (auto)"
26+
commit_message: 'docs: Update docs (auto)'
2427
env:
2528
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)