put that in a script

This commit is contained in:
mose 2019-08-17 08:37:23 +08:00
parent 8f58c0ea68
commit 19e64003a1
2 changed files with 9 additions and 1 deletions

View file

@ -1,7 +1,7 @@
image: alpine
pages:
script: find .
script: sh ./script/generate.sh
artifacts:
paths:
- site

8
scripts/generate.sh Normal file
View file

@ -0,0 +1,8 @@
#!/bin/sh
# idees
# chat
cp ./site/data/chat.sample.json ./site/data/chat.json
# wiki