Browse Source

add deploy script

pull/1/head
darcy (iris system) 6 months ago
parent
commit
7a387ed379
  1. 8
      .deploy.sh
  2. 7
      phonebook/index.html

8
.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"

7
phonebook/index.html

@ -88,3 +88,10 @@ title: phonebook
</table>
</section>
<section id="raw">
<h2>Raw data</h2>
<p><a href="phonebook.yml">
The YAML data used to generate this page can be found here.
</a></p>
</section>

Loading…
Cancel
Save