mirror of
https://github.com/MaksTinyWorkshop/_Assistant_Lead_Tech
synced 2026-04-06 21:41:42 +02:00
feat(scripts): intégrer Auto_scripts dans le repo pour déploiement multi-machine
This commit is contained in:
16
scripts/env_paths.sh
Executable file
16
scripts/env_paths.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
case "$(uname -s)" in
|
||||
Darwin)
|
||||
export SECRETS_KDBX="/Volumes/TeraSSD/Max_Perso/Pièces Importantes/MDPs/env_and_co.kdbx"
|
||||
export AUTO_SCRIPTS_DIR="$HOME/AI_RULES/Auto_scripts"
|
||||
;;
|
||||
Linux)
|
||||
export SECRETS_KDBX="/srv/shared/env/env_and_co.kdbx"
|
||||
export AUTO_SCRIPTS_DIR="/srv/shared/scripts"
|
||||
;;
|
||||
*)
|
||||
echo "OS non supporté" >&2
|
||||
return 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user