镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Commit 7e5adbc

Browse files
committed
fix: keep application deployment ownership out of the framework host
1 parent 35b7a7d commit 7e5adbc

6 files changed

Lines changed: 9 additions & 88 deletions

File tree

‎.github/scripts/deploy/configure-launchpad.test.ts‎

Lines changed: 0 additions & 14 deletions
This file was deleted.

‎.github/workflows/ci.yml‎

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -830,28 +830,6 @@ jobs:
830830
ssh-keygen -y -f ~/.ssh/id_ed25519 > ~/.ssh/id_ed25519.pub
831831
chmod 644 ~/.ssh/id_ed25519.pub
832832
833-
- name: Checkout Launchpad website
834-
uses: actions/checkout@v6
835-
with:
836-
repository: stacksjs/launchpad
837-
ref: main
838-
path: storage/framework/runtime/sites/launchpad
839-
persist-credentials: false
840-
841-
- name: Install Launchpad website dependencies
842-
working-directory: storage/framework/runtime/sites/launchpad
843-
run: bun install --frozen-lockfile
844-
845-
# Attached sites qualify this exact framework source before it is
846-
# published. The runner-only link leaves the app's manifest and lock
847-
# untouched; only the resulting static files ship to the server.
848-
- name: Build framework path contract for attached sites
849-
working-directory: storage/framework/core/path
850-
run: bun run build
851-
852-
- name: Link framework source into Launchpad website build
853-
run: ./buddy link:core path --path "$GITHUB_WORKSPACE" --cwd "$GITHUB_WORKSPACE/storage/framework/runtime/sites/launchpad"
854-
855833
# Pinned host keys for a `cloud.provider: 'ssh'` target. Optional: the
856834
# deploy falls back to accepting a key on first contact, which is what
857835
# the Hetzner path has always done. Note that a runner on GitHub's

‎.github/workflows/configure-launchpad-deployment.yml‎

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎config/cloud.ts‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -952,16 +952,6 @@ export const tsCloud: TsCloudConfig = {
952952
pathRewriteStyle: 'directory',
953953
},
954954

955-
launchpad: {
956-
// The deployment job prepares this public app checkout before Buddy builds it.
957-
deploy: 'server',
958-
root: 'storage/framework/runtime/sites/launchpad/dist/site',
959-
path: '/',
960-
domain: 'launchpad.stacksjs.com',
961-
build: 'bun run --cwd storage/framework/runtime/sites/launchpad build:site',
962-
pathRewriteStyle: 'directory',
963-
},
964-
965955
// Redirect-only sites (gateway answers with a 301; nothing is shipped).
966956
// The alternate adblock domain → canonical, and www → apex for stacksjs.com.
967957
// MTA-STS policy host. Its own site because RFC 8461 requires the policy at

‎storage/framework/core/github/tests/search.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ test('public search preserves query syntax and never borrows environment credent
88
return Response.json({ total_count: 0, incomplete_results: false, items: [] })
99
}) as typeof fetch }
1010
await searchGitHubRepositories('org:stacksjs launcher & tools', options)
11-
await searchGitHubIssues('repo:stacksjs/launchpad is:open', 'pr', options)
11+
await searchGitHubIssues('repo:example/project is:open', 'pr', options)
1212
expect(new URL(calls[0]!.url).searchParams.get('q')).toBe('org:stacksjs launcher & tools')
13-
expect(new URL(calls[1]!.url).searchParams.get('q')).toBe('is:pr repo:stacksjs/launchpad is:open')
13+
expect(new URL(calls[1]!.url).searchParams.get('q')).toBe('is:pr repo:example/project is:open')
1414
expect(calls.every(call => !call.headers.has('authorization'))).toBe(true)
1515
})
1616

‎storage/framework/defaults/resources/views/index.stx‎

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -587,10 +587,10 @@ Sponsor Here</div>
587587
</div>
588588
</a>
589589

590-
<a href="https://github.com/stacksjs/launchpad" target="_blank" class="folder-item">
590+
<a href="https://github.com/pantry-pm/pantry" target="_blank" class="folder-item">
591591
<div class="folder-item-icon">🏗️</div>
592592
<div class="folder-item-content">
593-
<div class="folder-item-name">Launchpad</div>
593+
<div class="folder-item-name">Pantry</div>
594594
<div class="folder-item-desc">Performant system & project dependency management. Similar to Homebrew, just faster.</div>
595595
</div>
596596
</a>
@@ -2254,11 +2254,11 @@ export default {
22542254
<p style="margin-bottom: 16px;">Build plugins and GitHub Actions to enhance your development workflow.</p>
22552255
<div class="folder-list">
22562256

2257-
<a href="https://github.com/stacksjs/launchpad" target="_blank" class="folder-item">
2257+
<a href="https://github.com/pantry-pm/pantry" target="_blank" class="folder-item">
22582258
<div class="folder-item-icon">🔌</div>
22592259
<div class="folder-item-content">
2260-
<div class="folder-item-name">action-launchpad</div>
2261-
<div class="folder-item-desc">GitHub Action to install packages using Launchpad.</div>
2260+
<div class="folder-item-name">pantry-action</div>
2261+
<div class="folder-item-desc">GitHub Action to install packages using Pantry.</div>
22622262
</div>
22632263
</a>
22642264

@@ -2576,9 +2576,9 @@ export default {
25762576
<div class="start-menu-item-icon">💨</div>
25772577
<div>Crosswind</div>
25782578
</button>
2579-
<button class="start-menu-item" onclick="window.open('https://github.com/stacksjs/launchpad', '_blank')">
2579+
<button class="start-menu-item" onclick="window.open('https://github.com/pantry-pm/pantry', '_blank')">
25802580
<div class="start-menu-item-icon">🚀</div>
2581-
<div>Launchpad</div>
2581+
<div>Pantry</div>
25822582
</button>
25832583
<button class="start-menu-item" onclick="window.open('https://github.com/stacksjs/stacks', '_blank')">
25842584
<div class="start-menu-item-icon">📚</div>

0 commit comments

Comments
 (0)