Skip to content

"Update Notion Page" Action for GitHub Actions

Actions
GitHub Action to update an existing notion page
v1.0.1
Latest
Star (3)

"Update Notion Page" Action for GitHub Actions

Table of Contents

Usage

Add the following step to your workflow:

- name: Update Notion Page
  uses: ydataai/update-notion-page@v1
  with:
    notion_secret: "<NOTION_SECRET_TOKEN>"
    notion_page_id: "<NOTION_PAGE_ID>"
    notion_page_update_properties: '{  "In stock": { "checkbox": false }  }'

Or fi you want to use a page of a database without the direct page_id:

- name: Update Notion Page
  uses: ydataai/update-notion-page@v1
  with:
    notion_secret: "<NOTION_SECRET_TOKEN>"
    notion_database_id: "<NOTION_DATABASE_ID>"
    notion_database_query_filter: '{  "property": "In stock",  "checkbox": { "equals": true }  }'
    notion_page_update_properties: '{  "In stock": { "checkbox": false }  }'

See action.yml for the full documentation for this action's inputs and outputs.

License

The scripts and documentation in this project are released under the MIT License

"Update Notion Page" Action for GitHub Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

GitHub Action to update an existing notion page
v1.0.1
Latest

"Update Notion Page" Action for GitHub Actions is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.