Compare commits

...

2 commits

Author SHA1 Message Date
607c78ab19 Merge branch 'main' of https://git.mafyuh.dev/mafyuh/iac 2024-12-02 20:06:38 -05:00
80835bc22a enhance cd 2024-12-02 20:06:37 -05:00

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