From 19e64003a172f33353dcada9068517d9e2d35727 Mon Sep 17 00:00:00 2001 From: mose Date: Sat, 17 Aug 2019 08:37:23 +0800 Subject: [PATCH] put that in a script --- .gitlab-ci.yml | 2 +- scripts/generate.sh | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 scripts/generate.sh diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a1f2fca..008cbfe 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,7 +1,7 @@ image: alpine pages: - script: find . + script: sh ./script/generate.sh artifacts: paths: - site diff --git a/scripts/generate.sh b/scripts/generate.sh new file mode 100644 index 0000000..d6d21a3 --- /dev/null +++ b/scripts/generate.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +# idees + +# chat +cp ./site/data/chat.sample.json ./site/data/chat.json + +# wiki \ No newline at end of file