deploy.sh: actually return & use the module path
This commit is contained in:
14
deploy.sh
14
deploy.sh
@@ -42,15 +42,17 @@ EOT
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Find Pillar
|
echo $MODULE_DIR
|
||||||
find_module pillar
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Find Attract
|
# Find our modules
|
||||||
find_module attract
|
PILLAR_DIR=$(find_module pillar)
|
||||||
|
ATTRACT_DIR=$(find_module attract)
|
||||||
|
FLAMENCO_DIR=$(find_module flamenco)
|
||||||
|
|
||||||
# Find Flamenco
|
echo "Pillar : $PILLAR_DIR"
|
||||||
find_module flamenco
|
echo "Attract : $ATTRACT_DIR"
|
||||||
|
echo "Flamenco: $FLAMENCO_DIR"
|
||||||
|
|
||||||
# SSH to cloud to pull all files in
|
# SSH to cloud to pull all files in
|
||||||
function git_pull() {
|
function git_pull() {
|
||||||
|
Reference in New Issue
Block a user