• Ms. ArmoredThirteen
    link
    fedilink
    arrow-up
    1
    ·
    7 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