add cases for CD

This commit is contained in:
Matt Reeves 2024-09-16 23:30:26 -04:00
parent e04c448475
commit 60e3424fbc

View file

@ -33,6 +33,9 @@ jobs:
IFS=' ' read -r -a folder_array <<< "${{ steps.detect-changes.outputs.folders }}" IFS=' ' read -r -a folder_array <<< "${{ steps.detect-changes.outputs.folders }}"
for folder in "${folder_array[@]}"; do for folder in "${folder_array[@]}"; do
case $folder in case $folder in
actual)
target_host="ubu.lan"
;;
arrs) arrs)
target_host="arrs.lan" target_host="arrs.lan"
;; ;;
@ -60,11 +63,14 @@ jobs:
netboot) netboot)
target_host="netboot.lan" target_host="netboot.lan"
;; ;;
nexus) nexterm)
target_host="nexus.lan" target_host="ubu.lan"
;; ;;
pages) npm)
target_host="pages.lan" target_host="npm.lan"
;;
paperless)
target_host="ubu.lan"
;; ;;
portainer) portainer)
target_host="port.lan" target_host="port.lan"