Github -> IPFS
The service publishes github repos to IPFS. It goes through these steps:
- Run
git push
- Github throws webhook
- github-ipfs catches the event
- github-ipfs clones the repo and publishes to IPFS
- The hash from IPFS is written into Registry file
- The file is published to IPNS
Options
enable
- should be true to enable the servicekey
- string. Key which was given at webhook creation in Githubpath
- string. Path to Registry file. Default/var/lib/github-ipfs/registry
port
- integer. Port for the service to listen to. Default8000
Пример
In most cases you should specify key
option and enable the service:
services.github-ipfs.enable = true;
services.github-ipfs.key = "secret-key";