diff --git a/src/_data/build.js b/src/_data/build.js new file mode 100644 index 0000000..a742bb4 --- /dev/null +++ b/src/_data/build.js @@ -0,0 +1,5 @@ +module.exports = function() { + return { + git_reference: process.env.GITHUB_REF_NAME || "missing" + }; +}; \ No newline at end of file diff --git a/src/index.njk b/src/index.njk index d1ef13d..bebf31a 100644 --- a/src/index.njk +++ b/src/index.njk @@ -1,3 +1,4 @@ +