build: updating previously entries

This commit is contained in:
D. Moonfire 2018-08-26 02:16:41 -05:00
parent 76da2d7c34
commit 88b5c248a4

View file

@ -25,14 +25,20 @@ 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-blood
- 'echo "---" > build/previously.markdown'
- 'echo "title: Previously" >> build/previously.markdown'
- 'echo "---" >> build/previously.markdown'
- 'cat build/repos/sand-and-blood/spoilers/plot.markdown >> build/previously.markdown'
# Trigger the release if needed.
- npx semantic-release
# Build the files.
# Build the files.
- npm run build
# Trigger the Fedran website to rebuild.