From be04679fa37d0d5b6e05ba88c90d5b9cb452c782 Mon Sep 17 00:00:00 2001 From: Barne Kleinen Date: Wed, 19 Jan 2022 02:09:41 +0100 Subject: [PATCH] versioning --- config/_default/config.toml | 2 +- makefile | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config/_default/config.toml b/config/_default/config.toml index 8a359e0..81d5a5e 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -59,4 +59,4 @@ theme = "hugo-hero-theme" allow = ['^dart-sass-embedded$', '^go$', '^npx$', '^postcss$'] osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$'] [security.funcs] - getenv = ['^(GITHUB_REF|DRONE_COMMIT_REF|HUGO_)'] + getenv = ['^(GITHUB_|DRONE_COMMIT_REF|HUGO_)'] diff --git a/makefile b/makefile index ef13868..832d8b2 100644 --- a/makefile +++ b/makefile @@ -3,6 +3,13 @@ push: git submodule foreach --recursive 'git push' git push origin master +commit: + cd themes/hugo-hero-theme/ + git add . + git commit -m $(message) + cd ../.. + git add . + git commit -m $(message) open: open http://localhost:1313/seuh2022 hugo : open