add deploy script

This commit is contained in:
darcy (iris system) 2021-06-08 01:23:18 +12:00
parent b31fde1d27
commit 7a387ed379
2 changed files with 15 additions and 0 deletions

8
.deploy.sh Executable file
View File

@ -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"

View File

@ -88,3 +88,10 @@ title: phonebook
</table> </table>
</section> </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>