insightsengineering / hex-stickers

hex sticker archive
8 stars 1 forks source link

Fixes GH render action #30

Closed averissimo closed 11 months ago

averissimo commented 1 year ago

image

Given that the hexwall is very small (less than 1000px), the best solution seems to be to scale down the individual hexes to prevent the cache from being exhausted.

The "400x400" scales down using the existing aspect ratio (according to image_resize documentation).

note: the invoke to exec modification is due to a deprecation warning with purrr see ?purrr::invoke

How to test it?

Trigger the workflow on this branch (beware that the hexwall and thumbs content will change)

averissimo commented 1 year ago

New wall using main

hexwall

averissimo commented 11 months ago

Action is sucessful on this branch: https://github.com/insightsengineering/hex-stickers/actions/workflows/render_readme.yaml

image

averissimo commented 11 months ago

Still pass after a manual rebase and force push, weird that GitHub was not detecting a need to update branch.