Skip to content

Commit 68fb8a9

Browse files
committed
Keep docs CI scoped to docs workspace
1 parent a0ca5b3 commit 68fb8a9

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ jobs:
6060
cache-dependency-path: package-lock.json
6161
- name: Install dependencies
6262
run: npm ci
63+
- name: Mirror approved org assets into website checkout
64+
run: |
65+
mkdir -p .agentdispatch-workspace/agentdispatch-website/src/assets
66+
cp -n .agentdispatch-workspace/agentdispatch-github-profile/profile/assets/org-logo.svg \
67+
.agentdispatch-workspace/agentdispatch-website/src/assets/org-logo.svg
68+
cp -n .agentdispatch-workspace/agentdispatch-github-profile/profile/assets/repo-social-preview.png \
69+
.agentdispatch-workspace/agentdispatch-website/src/assets/repo-social-preview.png
6370
- name: Validate docs
6471
env:
6572
AGENTDISPATCH_WORKSPACE_ROOT: ${{ github.workspace }}/.agentdispatch-workspace

scripts/check-launch-readiness.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -315,6 +315,7 @@ for (const expected of [
315315
".agentdispatch-workspace/agentdispatch-core",
316316
".agentdispatch-workspace/agentdispatch-website",
317317
".agentdispatch-workspace/agentdispatch-github-profile",
318+
"Mirror approved org assets into website checkout",
318319
"AGENTDISPATCH_WORKSPACE_ROOT",
319320
"npm test"
320321
]) {

scripts/check-local-links.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ console.log(`Checked ${markdownFiles.length} Markdown files for local links.`);
3737
function collectMarkdown(dir) {
3838
const files = [];
3939
for (const entry of readdirSync(dir)) {
40-
if (entry === ".git" || entry === "node_modules") continue;
40+
if (entry === ".git" || entry === "node_modules" || entry === ".agentdispatch-workspace") continue;
4141
const path = join(dir, entry);
4242
const stats = statSync(path);
4343
if (stats.isDirectory()) files.push(...collectMarkdown(path));

0 commit comments

Comments
 (0)