gsgd

spesk1 4134013ebb Updating README to to md parser for gsg 4 vuotta sitten
.gitignore a47b557c85 Updated README till I fix the md parser 4 vuotta sitten
README.md 4134013ebb Updating README to to md parser for gsg 4 vuotta sitten
gsgd a899d109ef Initial Commit 4 vuotta sitten

README.md

gsgd

Script for automatically updating your static git website generated with gsg. See: https://spwbk.site/git/projects/git-site-gen.git/index.html

Disclaimer: This script is pretty awful, and is possibly even an example of "worst practices".

Usage

gsgd uses the contents of the file talk.gsgd to trigger events. You can use server side git hooks such as `post-receive to trigger gsgd.

A post-receive script example:

#!/bin/bash
echo -ne "Regen\n" >> /some/path/to/talk.gsgd

You can create these server side in your project dirs, see the Server-Side Hooks section here: https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks

Backgrounding

You can run gsgd in the background via ./gsgd & and disown %1, use tmux/screen, etc.