Release workflow of Notion pages to IPFS
- Our custom docker base-image with preinstalled chromedriver is launched
- Python Loconotion tool and its dependencies are installed
- Loconotion is configured using config.toml to scrape public Notion page and save it as HTML in the
./dist/notion
folder - Our custom ipfs-api tool communicates with pinata to pin the
./dist/notion
folder - The
./dist/notion
folder is pushed to the dedicated repository with a prefix<branch>-release
alongside CID hash in ./ipfs-cid.txt - A simple HTML page can now use
<branch>-release/ipfs-cid.txt
to locate the IPFS page and redirect users via much simpler DNS name
- Make a commit to
dev
repository - Push changes
- Await github actions to finalize
- Notion gets deployed to IPFS : )
- PR is automatically raised to
master
alongside links to IPFS gateway - If you are satisfied with the release merge the PR