Thought it would be nice to have the ink file auto-deployed to a website :)
Investigated and found:
- Inky editor comes with a CLI tool called
inklecate that can be used to auto-generate the .json file from the .ink
- On mac, this is here:
/Applications/Inky.app/Contents/Resources/app.asar.unpacked/main-process/ink/inklecate_mac
inklecate_mac -o output.json Polis_FAQ_Adventure.ink generates a file
- this json file can be imported into a common scaffold that's generated by the "Export for web..." command on Inky Desktop app
- inky also has a linux version that should work in CI environment
- GitHub Actions has helpers to deploy to the GitHub Pages'
gh-pages branch
So I think we could make a GitHub Action step that pulls all this together and auto-deploys to https://thenwho.github.io/PoliS_FAQ_Adventure (or wherever we want to keep it)
Thought it would be nice to have the ink file auto-deployed to a website :)
Investigated and found:
inklecatethat can be used to auto-generate the.jsonfile from the.ink/Applications/Inky.app/Contents/Resources/app.asar.unpacked/main-process/ink/inklecate_macinklecate_mac -o output.json Polis_FAQ_Adventure.inkgenerates a filegh-pagesbranchSo I think we could make a GitHub Action step that pulls all this together and auto-deploys to https://thenwho.github.io/PoliS_FAQ_Adventure (or wherever we want to keep it)