Made repo root available for templates
This allows for embedding the repo root inside of, for example, scripts to make them function properly no matter where they are run from.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ROOT=$(git rev-parse --show-toplevel)
|
||||
ROOT={{ root }}
|
||||
CONFIGS=${ROOT}/configs
|
||||
|
||||
# Generate the configuration for each node
|
||||
|
||||
Reference in New Issue
Block a user