aboutsummaryrefslogtreecommitdiff
path: root/clone-generate-and-serve.sh
blob: 6031ba4ba0da531793be15cca750503b8b8bee9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

set -eux

git clone https://git.capotej.com/capotej/capotej.com.git

cd capotej.com || exit 1

git submodule init
git submodule update

hugo -v -d /usr/share/nginx/html

nginx -g "daemon off;"