Skip to content

Commit 3350d4c

Browse files
committed
Overlay custom JaCoCo CSS in deploy workflow for all versions
1 parent 593ba44 commit 3350d4c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/deploy-site.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,6 +254,16 @@ jobs:
254254
sed -i "s|<!-- CURRENT_VERSIONS_PLACEHOLDER -->|$CURRENT_HTML|" index.html
255255
sed -i "s|<!-- OLDER_VERSIONS_PLACEHOLDER -->|$OLDER_HTML|" index.html
256256
257+
- name: Overlay custom JaCoCo CSS
258+
run: |
259+
cd site
260+
for dir in */jacoco-coverage/jacoco-resources; do
261+
if [ -d "$dir" ]; then
262+
cp ../src/site/jacoco-resources/report.css "$dir/report.css"
263+
echo "Overlaid JaCoCo CSS in $dir"
264+
fi
265+
done
266+
257267
- name: Deploy to GitHub Pages
258268
run: |
259269
cd site

0 commit comments

Comments
 (0)