build: updating previously entries
This commit is contained in:
parent
7c2fe4875a
commit
c2829a398c
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue