enhance cd

This commit is contained in:
Matt Reeves 2024-12-02 20:06:37 -05:00
parent c7a98bcf02
commit 80835bc22a

View file

@ -26,7 +26,7 @@ jobs:
fi fi
folders=$(git diff --name-only HEAD~1 HEAD | grep '^docker/' | cut -d/ -f2 | sort | uniq) folders=$(git diff --name-only HEAD~1 HEAD | grep '^docker/' | cut -d/ -f2 | sort | uniq)
echo "Modified folders: $folders" echo "Modified folders: $folders"
echo "::set-output name=folders::$folders" echo "::set-output name=folders::$folders"
- name: Deploy to hosts - name: Deploy to hosts
run: | run: |
@ -71,7 +71,7 @@ jobs:
;; ;;
npm) npm)
target_host="npm.lan" target_host="npm.lan"
;; ;;
paperless) paperless)
target_host="ubu.lan" target_host="ubu.lan"
;; ;;
@ -124,3 +124,4 @@ jobs:
sleep 15 sleep 15
fi fi
done done
done