• Ms. ArmoredThirteen
    link
    fedilink
    168 months ago

    I write a world/setting and host all the notes for it on my own little website. I’m kinda proud of how it is set up: I write things in Obsidian, push changes to a repo, and then a build server picks everything up to turn into a webpage and update the host server. From random thought to website is just a few minutes

      • Ms. ArmoredThirteen
        link
        fedilink
        18 months ago

        Obsidian on my local machine, changes get pushed to GitHub, Jenkins pipeline is triggered, I like to use multibranch pipelines with Jenkinsfiles, ObsidianHTML is called and uses a config file in the repo, scp and ssh to send everything to the host server. The order it moves things is a bit specific to try and reduce downtime: New site gets sent to host server with a temp directory name, old directory is renamed, new directory is renamed to be what the old one was, and then the old one is deleted. Getting the build server to actually have the tools installed for ObsidianHTML was kinda a pita had to do a lot of figuring out which versions of Python were supported where and update a lot of stuff without breaking other parts of the build server relying on older Python versions. My build and host servers are two separate droplets with DigitalOcean. ObsidianHTML isn’t being developed anymore so I’d like to replace it with something I make myself one day but I’m not good at web dev in general let alone programmatically building pages