Skip to content
book-open

GitHub Action

Notion Page Update

v1.0.7 Latest version

Notion Page Update

book-open

Notion Page Update

Update property of Notion page

Installation

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

              

- name: Notion Page Update

uses: rimonhanna/[email protected]

Learn more about this action in rimonhanna/notion-update-page

Choose a version

Notion Update Page

on_master

GitHub action to update a Notion page property.

Example Usage

uses: rimonhanna/[email protected]
with:
  notion-key: ${{ secrets.NOTION_KEY }}
  notion-page-id: ${{ secrets.NOTION_PAGE_ID }}
  notion-property-name: "Status"
  notion-update-value: "Merged"
  notion-property-type: "rich_text"
  existing-value: "overwrite"
  • notion-key: Notion Integration Secret Key
  • notion-page-id: Notion Page Id to be updated
  • notion-property-name: Notion Page property to be updated
  • notion-update-value: New value for Notion page property
  • notion-property-type (optional): Type of Notion Page property. Can be rich_text or multi_select. Defaults to rich_text.
  • existing-value (optional): What to do with existing value in field to be updated. Can be append or overwrite. Defaults to
    • overwrite if notion-property-type is rich_text
    • append if notion-property-type is multi_select