Skip to content

Commit edda498

Browse files
feat(release-notifier): add thumbnail-img to blog posts (#530)
1 parent 4b74dc7 commit edda498

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/__call-release-notifier.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ jobs:
8686
file_name="_posts/releases/${repo_lower}/${year}-${month_day:0:2}-${month_day:2:2}-v${semver}.md"
8787
mkdir -p "$(dirname "${file_name}")"
8888
89+
thumbnail_base_url="https://app.lizardbyte.dev/dashboard/github/openGraphImages"
90+
thumbnail_url="${thumbnail_base_url}/${{ github.event.repository.name }}_624x312.png"
91+
8992
# create jekyll blog post
9093
{
9194
echo "---"
@@ -95,6 +98,7 @@ jobs:
9598
echo "gh-repo: ${{ github.repository }}"
9699
echo "gh-badge: [follow, fork, star]"
97100
echo "tags: [release, ${repo_lower}]"
101+
echo "thumbnail-img: ${thumbnail_url}"
98102
echo "comments: true"
99103
echo "authors:"
100104
echo " - github: LizardByte-bot"

0 commit comments

Comments
 (0)