"Update Notion Page" Action for GitHub Actions
ActionsTags
(2)Table of Contents
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.
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.