Allow specifying per-branch parameters

This commit is contained in:
Daniel Molkentin 2019-03-13 23:45:59 +01:00
parent 25c5f56b9c
commit 49d5646b15
3 changed files with 2 additions and 2 deletions

View file

@ -20,7 +20,7 @@ build_pages:
untracked: true untracked: true
script: script:
- apk add --no-cache --upgrade hugo - apk add --no-cache --upgrade hugo
- hugo - hugo $(cat .hugo-params)
build_calendar: build_calendar:
image: "python:3.7-alpine3.8" image: "python:3.7-alpine3.8"

0
.hugo-params Normal file
View file

View file

@ -1,6 +1,6 @@
#!/usr/bin/env sh #!/usr/bin/env sh
hugo hugo $(cat .hugo-params)
tools/merge_cals.py tools/merge_cals.py
upcoming="$(tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')" upcoming="$(tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')"
cp static/all.ics public/all.ics cp static/all.ics public/all.ics