Skip to content

Commit d9226e1

Browse files
brownjuly2003-codeJuliaEdomclaude
authored
Deploy site/ landing to GitHub Pages (#78)
* ci: deploy the site/ landing to GitHub Pages Publish the static landing as the repo homepage. The landing's links were repo-relative (../docs, ../README), which 404 on a standalone Pages deploy under the /agentflow/ base path — rewrite them to absolute GitHub URLs and make the OG image an absolute Pages URL. Same-dir assets (logo, style) stay relative and resolve under the base path. Adds a Pages workflow that uploads site/ and deploys on push to main. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> * ci: pin pages.yml actions to commit SHAs Satisfy test_workflow_action_pinning — every action must be pinned to a full commit SHA with a trailing version comment. checkout reuses the repo's existing v6.0.3 pin. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> --------- Co-authored-by: JuliaEdom <uedomskikh@gmail.com> Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 192a1b4 commit d9226e1

2 files changed

Lines changed: 48 additions & 9 deletions

File tree

‎.github/workflows/pages.yml‎

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Deploy landing to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
paths:
7+
- "site/**"
8+
- ".github/workflows/pages.yml"
9+
workflow_dispatch:
10+
11+
permissions:
12+
contents: read
13+
pages: write
14+
id-token: write
15+
16+
# Allow one concurrent deployment; let in-progress runs finish.
17+
concurrency:
18+
group: pages
19+
cancel-in-progress: false
20+
21+
jobs:
22+
deploy:
23+
runs-on: ubuntu-latest
24+
environment:
25+
name: github-pages
26+
url: ${{ steps.deployment.outputs.page_url }}
27+
steps:
28+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
29+
- name: Configure Pages
30+
uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5
31+
with:
32+
enablement: true
33+
- name: Upload landing artifact
34+
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3
35+
with:
36+
path: site
37+
- name: Deploy to GitHub Pages
38+
id: deployment
39+
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4

‎site/index.html‎

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="description" content="Event-native metrics layer: business metrics that update when events happen, with measured ~1 s event-to-metric freshness, live entity lookups, typed contracts, and Python + TypeScript SDKs.">
88
<meta property="og:title" content="AgentFlow — Event-native metrics that move when events happen">
99
<meta property="og:description" content="Business metrics that move when events happen — measured ~1 s event-to-metric freshness for people, dashboards, services, and AI agents alike.">
10-
<meta property="og:image" content="/og-image.png">
10+
<meta property="og:image" content="https://brownjuly2003-code.github.io/agentflow/og-image.png">
1111
<meta property="og:type" content="website">
1212
<link rel="icon" href="logo.svg" type="image/svg+xml">
1313
<link rel="stylesheet" href="style.css">
@@ -19,9 +19,9 @@
1919
<img src="logo.svg" alt="" width="140" height="28">
2020
</a>
2121
<nav class="header-nav" aria-label="Primary">
22-
<a href="../docs/api-reference.md">Docs</a>
23-
<a href="../docs/benchmark.md">Benchmark</a>
24-
<a href="../docs/competitive-analysis.md">Market</a>
22+
<a href="https://github.com/brownjuly2003-code/agentflow/blob/main/docs/api-reference.md">Docs</a>
23+
<a href="https://github.com/brownjuly2003-code/agentflow/blob/main/docs/benchmark.md">Benchmark</a>
24+
<a href="https://github.com/brownjuly2003-code/agentflow/blob/main/docs/competitive-analysis.md">Market</a>
2525
</nav>
2626
</div>
2727
</header>
@@ -41,8 +41,8 @@ <h1>Business metrics that move when events happen.</h1>
4141
dashboards, services, and AI agents.
4242
</p>
4343
<div class="hero-actions">
44-
<a class="button button-primary" href="../docs/api-reference.md">View docs</a>
45-
<a class="button button-secondary" href="../README.md">Repository</a>
44+
<a class="button button-primary" href="https://github.com/brownjuly2003-code/agentflow/blob/main/docs/api-reference.md">View docs</a>
45+
<a class="button button-secondary" href="https://github.com/brownjuly2003-code/agentflow">Repository</a>
4646
</div>
4747
<dl class="hero-facts">
4848
<div>
@@ -177,7 +177,7 @@ <h3>Self-directed deployment</h3>
177177
<p class="section-kicker">Performance baseline</p>
178178
<h2>Current benchmark numbers from the repository baseline.</h2>
179179
</div>
180-
<p class="section-note">Source: <a href="../docs/benchmark-baseline.json">docs/benchmark-baseline.json</a>, checked on 2026-04-18.</p>
180+
<p class="section-note">Source: <a href="https://github.com/brownjuly2003-code/agentflow/blob/main/docs/benchmark-baseline.json">docs/benchmark-baseline.json</a>, checked on 2026-04-18.</p>
181181
</div>
182182
<div class="metrics-grid">
183183
<article class="metric">
@@ -236,11 +236,11 @@ <h2>Everything you need to evaluate the current state.</h2>
236236
</div>
237237
</div>
238238
<div class="links-grid">
239-
<a class="link-card" href="../docs/api-reference.md">
239+
<a class="link-card" href="https://github.com/brownjuly2003-code/agentflow/blob/main/docs/api-reference.md">
240240
<strong>Docs</strong>
241241
<span>API reference, security audit, competitive analysis</span>
242242
</a>
243-
<a class="link-card" href="../README.md">
243+
<a class="link-card" href="https://github.com/brownjuly2003-code/agentflow">
244244
<strong>Repository</strong>
245245
<span>Repository, setup, CI workflows, local demo path</span>
246246
</a>

0 commit comments

Comments
 (0)