notion action

This commit is contained in:
Stuti mohgaonkar 2022-02-07 18:12:00 -05:00
parent 67587d6a9d
commit 8725bfa450

18
.github/workflows/notiongit.yml vendored Normal file
View file

@ -0,0 +1,18 @@
name: notiongit
on:
workflow_dispatch:
jobs:
auto-sync-from-notion-to-github:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Notion2Github
uses: 43-stuti/notion-github@v1.3
with:
SECRET_GITHUB: ${{secrets.TOKEN_GITHUB}}
NOTION_SECRET: ${{secrets.TOKEN_NOTION}}
OWNER: 'nature-of-code'
REPO: 'noc-notion'
BLOCK_NAME: 'Book'