Skip to content

Latest commit

 

History

History
50 lines (27 loc) · 1.85 KB

github-setting.md

File metadata and controls

50 lines (27 loc) · 1.85 KB

Set up GitHub repository

This document describes how to set up GitHub for Notion to Jekyll.

Set up GitHub secrets

In order to use Notion to Jekyll, you need to prepare Notion API key and Notion database ID. To do this, set up GitHub secrets.

Enter GitHub secrets

Go to Settings > Secrets and variables > Actions in your Jekyll repository.

github-secrets

Set up Notion API key

Click the New repository secret button in the picture above.

github-secrets-api-key

Enter the created Notion API key in Name and enter the Notion API key in Secret.

Set up Notion database ID

Click the New repository secret button again.

You can check the database ID in the URL of the Notion database.

url-database-id

github-secrets-database-id

Enter the Notion database ID in Name and enter the Notion database ID in Secret.

Set up GitHub action permission

In order to synchronize Notion posts to the repository, GitHub actions write permission is required.

github-actions

Go to Settings > Actions > General in your Jekyll repository.

github-actions-permission

Select Read and write permissions and press Save to save.

Next

If you are ready, go to next to finish GitHub setting.