From 7a387ed379fe9fe20a1b9405079dc193c08f3415 Mon Sep 17 00:00:00 2001 From: Iris System Date: Tue, 8 Jun 2021 01:23:18 +1200 Subject: [PATCH] add deploy script --- .deploy.sh | 8 ++++++++ phonebook/index.html | 7 +++++++ 2 files changed, 15 insertions(+) create mode 100755 .deploy.sh diff --git a/.deploy.sh b/.deploy.sh new file mode 100755 index 0000000..3469c4a --- /dev/null +++ b/.deploy.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +set -xeo pipefail + +WEBROOT="/var/www/tel.tilde.org.nz/public" + +bundle install +bundle exec jekyll build -d "${WEBROOT}" +cp "./_data/phonebook.yml" "${WEBROOT}/phonebook/phonebook.yml" diff --git a/phonebook/index.html b/phonebook/index.html index 9714a7d..11b6104 100644 --- a/phonebook/index.html +++ b/phonebook/index.html @@ -88,3 +88,10 @@ title: phonebook +
+

Raw data

+ +

+ The YAML data used to generate this page can be found here. +

+