Update .forgejo/workflows/CD.yml
This commit is contained in:
parent
0d60994a5b
commit
c3148d6604
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue