Jekyll Blogging Integration for iOS


Jekyll Blogging Integration for iOS



Per my last post Blogging on iOS with Pythonista, Gitlab & Dropbox, I pushed the integration to Github. I’m going to publish this post using the plugin. Everything seems to check out during tests and the integration has been pretty seamless with one exception that I’ll fix in the near future, namely:

  • committing new posts to the Gitlab repo and subsequently using Dropbox sync to move the new post to the appropriate Jekyll location fails to account for the fact that the local Git repo in Dropbox isn’t aware of the new commits and sees it as new files
    • the solution to this is to run a script on the server after successful publishing which performs a hard reset to master using the following:
      git fetch origin
      git reset --hard origin/master
      git clean -f -d

Here’s the gist for the Pythonista integration:

Here’s the link to the project.