From 49d5646b1580d5ea1aaae9c03c980fb4e0a89b71 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Wed, 13 Mar 2019 23:45:59 +0100 Subject: [PATCH] Allow specifying per-branch parameters --- .gitlab-ci.yml | 2 +- .hugo-params | 0 build.sh | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .hugo-params diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 57cf02a..a7bf1d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ build_pages: untracked: true script: - apk add --no-cache --upgrade hugo - - hugo + - hugo $(cat .hugo-params) build_calendar: image: "python:3.7-alpine3.8" diff --git a/.hugo-params b/.hugo-params new file mode 100644 index 0000000..e69de29 diff --git a/build.sh b/build.sh index 2229095..4489ab6 100755 --- a/build.sh +++ b/build.sh @@ -1,6 +1,6 @@ #!/usr/bin/env sh -hugo +hugo $(cat .hugo-params) tools/merge_cals.py upcoming="$(tools/gen_upcoming.py static/all.ics 14 5|tr '\n' ' ')" cp static/all.ics public/all.ics