forked from iris/neotel-website
add deploy script
This commit is contained in:
parent
b31fde1d27
commit
7a387ed379
|
@ -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"
|
|
@ -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…
Reference in New Issue