Skip to content

Auto-generate HTML and deploy to GitHub Pages #1

@patcon

Description

@patcon

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions