mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 19:57:04 +05:30
feat: add Search flow to Maestro
This commit is contained in:
parent
7669a85f43
commit
f1d30e59b0
3 changed files with 18 additions and 3 deletions
|
@ -11,8 +11,14 @@ SCREENSHOT_DIR="${SCRIPT_DIR}"/../screenshots
|
|||
# Run the Maestro flow to generate the screenshots
|
||||
"${SCRIPT_DIR}"/run-maestro-flows.sh feature_graphic.yml
|
||||
|
||||
# Use imagemagick to stitch the screenshots horizontally
|
||||
convert +append "${SCREENSHOT_DIR}"/HottestPosts.png "${SCREENSHOT_DIR}"/CommentsPage.png "${SCREENSHOT_DIR}"/SavedPosts.png "${SCRIPT_DIR}"/../.github/readme_feature.png
|
||||
# Use imagemagick to stitch the screenshots in a grid
|
||||
montage -tile 2x0 -geometry +0+0 \
|
||||
-border 0 -density 300 \
|
||||
"${SCREENSHOT_DIR}"/HottestPosts.png \
|
||||
"${SCREENSHOT_DIR}"/CommentsPage.png \
|
||||
"${SCREENSHOT_DIR}"/SavedPosts.png \
|
||||
"${SCREENSHOT_DIR}"/SearchPage.png \
|
||||
"${SCRIPT_DIR}"/../.github/readme_feature.png
|
||||
|
||||
# Convert the resulting PNG to WebP
|
||||
cwebp .github/readme_feature.png -o .github/readme_feature.webp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue