From c2829a398c58ce2f33837479cf18db0b3265e3db Mon Sep 17 00:00:00 2001 From: "D. Moonfire" Date: Sun, 26 Aug 2018 02:16:43 -0500 Subject: [PATCH] build: updating previously entries --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de6e458..cd48b91 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,9 +25,15 @@ publish: - mv *.otf ~/.fonts/ - fc-cache -rf - # We need the covers for generation. + # We need the covers and the previous version so we can generate the + # "previously" chapter. - mkdir -p build/repos - git clone https://oauth2:$fedranAccessKey@gitlab.com/fedran/fedran-covers.git build/repos/fedran-covers + - git clone https://oauth2:$fedranAccessKey@gitlab.com/fedran/sand-and-blood.git build/repos/sand-and-ash + - 'echo "---" > build/previously.markdown' + - 'echo "title: Previously" >> build/previously.markdown' + - 'echo "---" >> build/previously.markdown' + - 'cat build/repos/sand-and-ash/spoilers/plot.markdown >> build/previously.markdown' # Trigger the release if needed. - npx semantic-release