File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5353 - name : Generate thumbnails
5454 if : steps.check_changes.outputs.changes_detected == 'true'
5555 run : |
56- rm assets/images/thumbs/* # Remove outdated thumbnails to ensure newly generated ones reflect the latest full-size images
56+ rm assets/images/thumbs/*.jpg
5757 for img in assets/images/fulls/*.jpg; do
5858 filename=$(basename "$img")
5959 magick "$img" -resize "500x" "assets/images/thumbs/$filename"
6363 id : generate-list
6464 if : steps.check_changes.outputs.changes_detected == 'true'
6565 run : |
66+ rm archive/README.md
6667 {
6768 echo "[//]: # (This file is managed by the update_image_archive_list.yml GitHub Action. Changes will be overwritten.)"
6869 echo "# Image Archive Gallery"
7273 for img in $(ls assets/images/fulls); do
7374 thumb="https://efpb.org/assets/images/thumbs/$img"
7475 full="https://efpb.org/assets/images/fulls/$img"
75- echo "- []($full)"
76+ echo "[]($full)"
77+ echo ""
7678 done
7779 echo ""
7880 echo "Return to the [Main Gallery](https://efpb.org)"
You can’t perform that action at this time.
0 commit comments