From ea0a289e48e74d23e84a6706b176d37548e9c8a0 Mon Sep 17 00:00:00 2001 From: acoshift Date: Sun, 14 Jun 2026 20:33:15 +0700 Subject: [PATCH 1/2] Use deploy.yaml filename for GitHub workflow Co-Authored-By: Claude Opus 4.8 (1M context) --- src/routes/(auth)/(project)/github/+page.svelte | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/(auth)/(project)/github/+page.svelte b/src/routes/(auth)/(project)/github/+page.svelte index d166bf6..f806212 100644 --- a/src/routes/(auth)/(project)/github/+page.svelte +++ b/src/routes/(auth)/(project)/github/+page.svelte @@ -322,7 +322,7 @@ ${withBlock()} `) const createOnGitHubURL = $derived(gen.repository - ? `https://github.com/${gen.repository}/new/main?filename=.github/workflows/deploy.yml&value=${encodeURIComponent(workflowYaml)}` + ? `https://github.com/${gen.repository}/new/main?filename=.github/workflows/deploy.yaml&value=${encodeURIComponent(workflowYaml)}` : '') onMount(() => setupCopy('.copy-workflow')) @@ -400,7 +400,7 @@ ${withBlock()}
Workflow

- Add this file as .github/workflows/deploy.yml + Add this file as .github/workflows/deploy.yaml to deploy on push and get pull request previews.

From 03401336190429b68969537f087343572bc44560 Mon Sep 17 00:00:00 2001 From: acoshift Date: Sun, 14 Jun 2026 20:41:48 +0700 Subject: [PATCH 2/2] Update github test for deploy.yaml filename Co-Authored-By: Claude Opus 4.8 (1M context) --- tests/github.spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/github.spec.js b/tests/github.spec.js index 896a818..5573125 100644 --- a/tests/github.spec.js +++ b/tests/github.spec.js @@ -80,7 +80,7 @@ test.describe('github', () => { // Create-on-GitHub deep-link targets the linked repo's file editor. const href = await main.getByRole('link', { name: 'Create on GitHub' }).getAttribute('href') - expect(href).toContain('https://github.com/acme/web/new/main?filename=.github/workflows/deploy.yml&value=') + expect(href).toContain('https://github.com/acme/web/new/main?filename=.github/workflows/deploy.yaml&value=') expect(decodeURIComponent(href ?? '')).toContain('name: api') })