From 6c998d5b027322534561f9a21d9a673ce8772993 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=2E=20Fatih=20C=C4=B1r=C4=B1t?= Date: Fri, 7 Jun 2024 17:11:44 +0300 Subject: [PATCH] fix dest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: M. Fatih Cırıt --- sync-files/action.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync-files/action.yaml b/sync-files/action.yaml index 607efe77..20f2ab26 100644 --- a/sync-files/action.yaml +++ b/sync-files/action.yaml @@ -93,7 +93,7 @@ runs: rm -rf /tmp/repository git clone --depth 1 "$repository" /tmp/repository ${git_options[@]} - for dest_file in $(yq ".files[].source" /tmp/repo-config.yaml); do + for dest_file in $(yq ".files[].dest" /tmp/repo-config.yaml); do yq ".files[] | select(.dest == \"$dest_file\")" /tmp/repo-config.yaml > /tmp/file-config.yaml source_path=$(yq ".source" /tmp/file-config.yaml)