Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Latest commit

 

History

History
45 lines (36 loc) · 1.09 KB

README.md

File metadata and controls

45 lines (36 loc) · 1.09 KB

Table of contents

Introduction

This action lets you update a page property from the Notion API.

Inputs

input description required
notion_api_key Notion API Key true
page_id Identifier for a Notion page true
key Key of the property true
value Value for the property true

Outputs

output type
response JSON encoded

Usage

name: Update page status
on:
  pull_request:
    types: [closed]
jobs:
  notion:
    runs-on: ubuntu-latest
    steps:
      - name: Update page details
        uses: dovetail/notion-update-page-property@latest
        with:
          notion_api_key: secret_1234567890abcdef1234
          page_id: 1234567890abcdef1234567890abcdef
          key: 'Status'
          value: '{ "select": { "name" : "Done" } }'