From 0fbc4aa8c36c8301441049efab51e91b6d1a267b Mon Sep 17 00:00:00 2001 From: Stijn Van Hulle Date: Sun, 10 Dec 2023 11:23:02 +0100 Subject: [PATCH] docs: blog with correct link --- .github/workflows/ci.yaml | 4 ++-- docs/.vitepress/config.ts | 2 +- docs/blog/{whyTemplates.md => benefits-of-templates.md} | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename docs/blog/{whyTemplates.md => benefits-of-templates.md} (100%) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c5f417538..0df7ce9a0 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -76,7 +76,7 @@ jobs: - name: Publish ${{ inputs.tag || 'canary' }} continue-on-error: true - if: ${{ steps.publish.outcome == 'failure' || github.event.inputs.tag != '' }} + if: ${{ steps.publish.outputs.published == 'false' || steps.publish.outcome == 'failure' || github.event.inputs.tag != '' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} @@ -98,7 +98,7 @@ jobs: 'Content-Type': 'application/json' }, body: JSON.stringify({ - content: `New release available. [Read the changelog](https://github.com/kubb-project/kubb/releases)` + content: `A new release is available 🎉. \n [Read the changelog](https://github.com/kubb-project/kubb/releases)` }), }) .then((res) => { diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index d25a43b22..d2f5dff55 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -340,7 +340,7 @@ const blogSidebar = [ }, { text: 'Benefits of using JSX for templates', - link: '/blog/whyTemplates', + link: '/blog/benefits-of-templates', }, ] diff --git a/docs/blog/whyTemplates.md b/docs/blog/benefits-of-templates.md similarity index 100% rename from docs/blog/whyTemplates.md rename to docs/blog/benefits-of-templates.md