We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 231fdc0 commit 2e63ba6Copy full SHA for 2e63ba6
1 file changed
.github/workflows/export-badges-private.yml
@@ -105,7 +105,8 @@ jobs:
105
106
echo "Syncing badge files with rsync (only updated ones will be copied)..."
107
if [ -d "output/badges/${{ inputs.repo_name }}" ]; then
108
- rsync -a --delete --checksum --itemize-changes output/badges/${{ inputs.repo_name }}/ target/badges/${{ inputs.repo_name }}/ | tee sync_log.txt
+ repo_short=$(basename "${{ inputs.repo_name }}")
109
+ rsync -a --delete --checksum output/badges/$repo_short/ target/badges/$repo_short/ | tee sync_log.txt
110
else
111
echo "Warning: No badge output found in output/badges/${{ inputs.repo_name }}"
112
fi
0 commit comments