Added a test line
Lint / pre-commit Linting (push) Successful in 30s Details

This commit is contained in:
Philipp Horstenkamp 2023-12-25 01:58:47 +01:00
parent b983834968
commit f6cf869bcb
Signed by: Philipp
GPG Key ID: DD53EAC36AFB61B4
1 changed files with 3 additions and 1 deletions

View File

@ -19,10 +19,12 @@ const path = require("path");
*/
function replacePlaceholders(content) {
const deployTime = new Date().toISOString();
return content
content = content
.replace(/{{gitHash}}/g, process.env.GITHUB_SHA)
.replace(/{{gitRef}}/g, process.env.GITHUB_REF)
.replace(/{{deployTime}}/g, deployTime);
core.info(content);
return content;
}
/**