site-josuah

/usr/josuah
Log | Files | Refs

commit 56c13d600fb95a7e9075e4c1dffbb06a3f886fad
parent 42e99fd5049d0a6a153b2fda1f6ffdb85bb8b077
Author: Josuah Demangeon <me@josuah.net>
Date:   Wed, 30 Sep 2020 05:52:56 +0200

in-place deployment

Diffstat:
A.deploy-hook | 4++++
D.githooks/post-update | 18------------------
2 files changed, 4 insertions(+), 18 deletions(-)

diff --git a/.deploy-hook b/.deploy-hook @@ -0,0 +1,4 @@ +umask 002 +notwiki-doc html . * +notwiki-doc gph . * +cat tail.html >>index.html diff --git a/.githooks/post-update b/.githooks/post-update @@ -1,18 +0,0 @@ -#!/bin/sh -ex -tmp=$(git-hooks-workdir "$@") -trap 'rm -rf "$tmp"' INT TERM EXIT HUP - -umask 002 - -cd "$tmp" - -notwiki-doc html /srv/http/vhost/josuah * -notwiki-doc gph /srv/gopher * -cat tail.html >>/srv/http/vhost/josuah/index.html - -cp -r quotes ascii /srv/gopher -cp -r quotes ascii /srv/http/vhost/josuah -cp style.css /srv/http/vhost/josuah - -notwiki-index-gph /srv/gopher ascii -notwiki-index-html /srv/http/vhost/josuah ascii