From dcecff580f0d7b93845bf56aaad61bbf17d9bbcf Mon Sep 17 00:00:00 2001 From: RustyTake-Off <109174317+RustyTake-Off@users.noreply.github.com> Date: Sat, 29 Jun 2024 06:33:03 +0200 Subject: [PATCH] Update --- .github/actions/templates/moveFiles/action.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/actions/templates/moveFiles/action.yaml b/.github/actions/templates/moveFiles/action.yaml index 286652c..05f9f6a 100644 --- a/.github/actions/templates/moveFiles/action.yaml +++ b/.github/actions/templates/moveFiles/action.yaml @@ -42,8 +42,14 @@ runs: echo '---' - # mv ${{ inputs.targetBranchName }}/{.?*,*} . --force --verbose - rsync -a --include '.*/*' --exclude '.*' "${{ inputs.targetBranchName }}/" ./ + rsync -a --force --verbose \ + --include '.*' \ + --include '*/' \ + --exclude '.' \ + --exclude '..' \ + --exclude 'README.md' \ + "${{ inputs.targetBranchName }}" . + echo '---'