From 30da0cf9f1d5c4a4e5f22a354427ea5dee3dc078 Mon Sep 17 00:00:00 2001 From: Ajit Pratap Singh Date: Sun, 22 Mar 2026 11:06:14 +0530 Subject: [PATCH 1/2] =?UTF-8?q?fix(ci):=20remove=20auto-commit=20WASM=20st?= =?UTF-8?q?ep=20=E2=80=94=20blocked=20by=20branch=20protection=20on=20main?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The wasm auto-commit step from PR #423 fails with GH013 (branch protection rules prevent direct pushes to main, even from CI). This aborts the entire deploy pipeline before Vercel runs. The WASM is now committed in git (PR #423), so the auto-commit step is redundant for normal deploys. When wasm/ source changes, rebuild and commit manually. Revert permissions back to contents: read. Co-Authored-By: Claude Sonnet 4.6 --- .github/workflows/website.yml | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index f363e7d..de7adfd 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: permissions: - contents: write + contents: read concurrency: group: vercel-production @@ -39,18 +39,6 @@ jobs: cp playground/gosqlx.wasm ../website/public/wasm/ cp playground/wasm_exec.js ../website/public/wasm/ - - name: Commit rebuilt WASM if changed - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add website/public/wasm/gosqlx.wasm website/public/wasm/wasm_exec.js - if git diff --cached --quiet; then - echo "WASM unchanged, skipping commit" - else - git commit -m "chore(wasm): rebuild gosqlx.wasm from updated wasm/ source [skip ci]" - git push origin main - fi - - name: Setup Node uses: actions/setup-node@v4 with: From bbfe4f9f9e9d9b0b446e5ef052bbddb947e15d00 Mon Sep 17 00:00:00 2001 From: Ajit Pratap Singh Date: Sun, 22 Mar 2026 11:35:29 +0530 Subject: [PATCH 2/2] =?UTF-8?q?feat(website):=20Phase=201=20marketing=20?= =?UTF-8?q?=E2=80=94=20star=20button,=20social=20share,=20playground=20CTA?= =?UTF-8?q?,=20WCAG,=20RSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Hero: live GitHub star button with client-side count fetch (GitHubStarButton) - Hero: fix WCAG contrast — zinc-500/emerald-400/70 → zinc-400/emerald-400 - Blog post: X/Twitter, LinkedIn, HN share buttons after article content - Playground: post-use CTA bar with copyable go get command (after first parse) - Footer: add Release RSS feed link - Blog: add missing v1.12.0–v1.13.0 comparison links to changelog footer Co-Authored-By: Claude Sonnet 4.6 --- website/src/app/blog/[slug]/page.tsx | 39 ++++++++++++++++++ website/src/components/home/Hero.tsx | 41 +++++++++++++++++-- website/src/components/layout/Footer.tsx | 1 + .../src/components/playground/Playground.tsx | 36 ++++++++++++++++ website/src/content/blog/v0-9-0.md | 5 ++- 5 files changed, 118 insertions(+), 4 deletions(-) diff --git a/website/src/app/blog/[slug]/page.tsx b/website/src/app/blog/[slug]/page.tsx index 9fd1cea..5361873 100644 --- a/website/src/app/blog/[slug]/page.tsx +++ b/website/src/app/blog/[slug]/page.tsx @@ -129,6 +129,45 @@ export default async function BlogPostPage({ params }: Props) { {content} + {/* Social share */} + {(() => { + const postUrl = `https://gosqlx.dev/blog/${slug}/`; + const shareText = encodeURIComponent(`${post.title} — GoSQLX`); + const shareUrl = encodeURIComponent(postUrl); + return ( +
+ Share: + + + X / Twitter + + + + LinkedIn + + + + HN + +
+ ); + })()} + {/* Navigation */}