mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
10 lines
442 B
Bash
10 lines
442 B
Bash
#!/usr/bin/env bash
|
|||
|
|
# Propagate the canonical social card to the app OG-image locations.
|
||
|
|
# Run after regenerating branding/social-preview.png.
|
||
|
|
set -euo pipefail
|
||
|
|
root="$(cd "$(dirname "$0")/../.." && pwd)"
|
||
|
|
src="$root/branding/social-preview.png"
|
||
|
|
cp "$src" "$root/apps/landing/public/og-image.png"
|
||
|
|
cp "$src" "$root/apps/web/public/og-image.png"
|
||
|
|
echo "synced social-preview.png -> apps/landing/public/og-image.png, apps/web/public/og-image.png"
|