Update .forgejo/workflows/CD.yml

This commit is contained in:
Matt Reeves 2024-07-23 21:38:46 -04:00
parent 0d60994a5b
commit c3148d6604

View file

@ -20,7 +20,7 @@ jobs:
if [ "$(git rev-parse --is-shallow-repository)" = "true" ]; then if [ "$(git rev-parse --is-shallow-repository)" = "true" ]; then
git fetch --unshallow git fetch --unshallow
fi fi
folders=$(git diff --name-only HEAD~1 HEAD | grep '^iac/docker/' | cut -d/ -f3 | sort | uniq) folders=$(git diff --name-only HEAD~1 HEAD | grep '^docker/' | cut -d/ -f3 | sort | uniq)
echo "Modified folders: $folders" echo "Modified folders: $folders"
echo "::set-output name=folders::$folders" echo "::set-output name=folders::$folders"