Skip to content

Commit

Permalink
Update sketchup.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
brunurb authored Nov 21, 2024
1 parent 155a0db commit 039822e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/sketchup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,10 @@ jobs:
# Add the title
echo '<h1>sketchup</h1>' >> majortom/sketchup.html
# Correctly add images inside the myMosaic div
# Mosaic images generation
echo ' <main>' >> majortom/sketchup.html
echo ' <div id="myMosaic">' >> majortom/sketchup.html
for img in $(ls google-sketchup/SKETCHUP\ RASTER | grep -E '\.jpeg$|\.jpg$|\.gif$|\.svg$|\.png$|\.webp$'); do
raw_url="https://raw.githubusercontent.com/brunurb/Google-Sketchup/053c9bfad942c25a092728e1e8cb5bc3598ab52e/SKETCHUP%20RASTER/$img"
echo "<img src='$raw_url' alt='Gallery Image' data-full='$raw_url' class='thumbnail' onclick='showImage(this.dataset.full)' />" >> majortom/sketchup.html
Expand Down

0 comments on commit 039822e

Please sign in to comment.