GitHub Action
notion-site
v1.1.7
Latest version
notion-site is an open source software for a custom website based on Notion and Hugo, and you can find your favorite template as your blog or documentation site among the hundreds of templates in the Hugo Template Store.
Example | notion page |
---|---|
doc | notion-page |
blog | notion-page |
- Notion Database id for your articles.
- Notion API secret token.
curl -sSf https://raw.githubusercontent.com/pkwenda/notion-site/master/install.sh | sh
cd your-hugo-site
notion-site init
# edit notion-site.yml your datatbse id and .env file notion secret
notion-site
The installation command tool is helpful for local debugging. If you do not want to debug locally, you can also copy the configuration file to your project and run it directly through GitHubAction. You can see the example config in notion-site-doc.
To use it as a Github Action, you can use the template of the repository in .github/worflows/notion.yml.
See CONTRIBUTING for details on submitting patches and the contribution workflow.
notion-site is under the MIT license. See the LICENSE file for details.