add build version to html comment
This commit is contained in:
parent
2a6fd3faff
commit
54ec613ede
2 changed files with 6 additions and 0 deletions
5
src/_data/build.js
Normal file
5
src/_data/build.js
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
module.exports = function() {
|
||||||
|
return {
|
||||||
|
git_reference: process.env.GITHUB_REF_NAME || "missing"
|
||||||
|
};
|
||||||
|
};
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- Version: {{ build.git_reference }} -->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
|
Loading…
Reference in a new issue