diff options
Diffstat (limited to 'scripts/prebuild.sh')
-rwxr-xr-x | scripts/prebuild.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/prebuild.sh b/scripts/prebuild.sh new file mode 100755 index 0000000..937bf5f --- /dev/null +++ b/scripts/prebuild.sh @@ -0,0 +1,12 @@ +#!/bin/bash + +set -x +set -eou pipefail + +if [ -d ./content ]; then + cd content + git pull + cd .. +else + git clone https://github.com/19pdh/kronika content +fi |