Tiny bash scripts to facilitate file shuttling and Octopress rebuild and deployment from incron.
Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.md
delete_update.sh
move_update.sh
update.sh

README.md

remote_octopress_incron

This is a collection of very minimal bash scripts which integrate a few simple commands (cd, mv, etc.) with basic octopress tasks (e.g. rake gen_deploy). These scripts are used to call multiple commands from incron rules, which are subject to incrontab restrictions (e.g. cannot contain && or ; operators). More information on using incron and Octopress for remote blugging is available in the Remote Octopress Blogging article from Chymeric Tutorials.

Installation

This package has no dependencies, and is best installed directly by pulling from GitHub:

git clone https://github.com/TheChymera/remote_octopress_incron.git /your/repo/path/for/remote_octopress_incron/

Usage

As seen here under the "" section, call the script of your choice from the incrontab rules file:

/your/path/for/octopress/source/_posts IN_MODIFY,IN_CREATE,IN_CLOSE_WRITE /your/repo/path/for/remote_octopress_incron/update.sh $@

Released under the GPLv3 license. Project led by Horea Christian (address all correspondence to: h.chr@mail.ru)