Refactor key generation logic and update path resolving

This commit is contained in:
Aaro Varis
2024-09-23 12:07:36 +03:00
parent 95ada97b2f
commit 6716bff8b3
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
#GIT_URI=ssh://git@git.domain/username/example-repo.git
GIT_URI=https://<username>:<token>@git.domain/username/example-repo.git
GIT_BRANCH=main
#COMMANDS="['npm i','npm start']"
#COMMANDS='["npm i","npm start"]'

View File

@@ -158,8 +158,9 @@ async function main() {
if (customCommands) {
try {
customCommands = JSON.parse(customCommands)
} catch {
} catch (err) {
console.error("couln't parse commands from .env")
console.log(err.message)
customCommands = undefined;
}
}