enhance cd
This commit is contained in:
parent
c7a98bcf02
commit
80835bc22a
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue