Skip to content
play

GitHub Action

Notion Sync MD Page

v1.0.0 Latest version

Notion Sync MD Page

play

Notion Sync MD Page

Syncs a MD file in your repository with a specified Notion page

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Notion Sync MD Page

uses: jok-dev/[email protected]

Learn more about this action in jok-dev/notion-sync-md-page

Choose a version

Notion Sync MD Page

This is an action to sync a MD file in your repository with a specified Notion page. Useful if you want to share repoistory documentation with non-developers.

Example workflow

name: My Workflow
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@main
    - name: Sync README to Notion
      uses: Elioby/notion-sync-md-page@main
      with:
        token: notionapitoken
        page: https://notion.so/linktoyourpage
        mdFile: README.md

Inputs

Input Description
token The Notion API token, note this has to be a Notion integration token, not a user token. See: https://developers.notion.com/docs/authorization
page The URL of the Notion page to update
mdFile The MD file on disk