Skip to content

Commit dbcb125

Browse files
authored
Merge pull request #157 from aojea/autopudate
publish website
2 parents 439e847 + 9b6aef2 commit dbcb125

58 files changed

Lines changed: 481 additions & 219 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
# Copyright 2026 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# https://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
name: Deployment to GitHub Pages
15+
16+
on:
17+
workflow_dispatch:
18+
push:
19+
branches:
20+
- main
21+
paths:
22+
- 'site/**'
23+
- 'docs/**'
24+
- '.github/workflows/deploy-github-pages.yml'
25+
pull_request:
26+
paths:
27+
- 'site/**'
28+
- 'docs/**'
29+
- '.github/workflows/deploy-github-pages.yml'
30+
31+
permissions:
32+
contents: write
33+
34+
env:
35+
REPO_NAME: ${{ github.event.repository.name }}
36+
REPO_OWNER: ${{ github.repository_owner }}
37+
38+
jobs:
39+
deploy:
40+
runs-on: ubuntu-latest
41+
concurrency:
42+
group: ${{ github.workflow }}-${{ github.ref }}
43+
steps:
44+
- uses: actions/checkout@v6
45+
with:
46+
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
47+
submodules: recursive # Fetch any git submodules if configured
48+
49+
- name: Setup Hugo
50+
uses: peaceiris/actions-hugo@v3
51+
with:
52+
hugo-version: '0.136.5' # Matching local Hugo version
53+
extended: true
54+
55+
- uses: actions/setup-node@v6
56+
with:
57+
node-version: '20'
58+
check-latest: true
59+
60+
- name: Install PostCSS dependencies
61+
run: |
62+
npm init --yes
63+
npm install --save-dev autoprefixer postcss-cli postcss
64+
working-directory: ./site
65+
66+
- name: Build Hugo Site
67+
run: hugo --baseURL https://sam-mesh.dev --minify
68+
working-directory: ./site
69+
70+
- name: Deploy to GitHub Pages
71+
uses: peaceiris/actions-gh-pages@v4
72+
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
73+
with:
74+
github_token: ${{ secrets.GITHUB_TOKEN }}
75+
publish_dir: ./site/public
76+
cname: sam-mesh.dev

β€ŽREADME.mdβ€Ž

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SAM: Sovereign Agent Mesh
22

3-
<img alt="SAM" src="docs/sam_logo.png" />
3+
<img alt="SAM" src="site/content/docs/sam_logo.png" />
44

55
SAM is a smart network built for autonomous AI agents:
66

@@ -24,14 +24,15 @@ Start exploring the Sovereign Agent Mesh:
2424

2525
### For Users & Operators
2626
Get a node running on the public testnet (`bananas.sam-mesh.dev`) in minutes:
27-
- πŸš€ **[User Quick Start Guide](docs/quickstart.md)**: Connect and run a SAM node using Docker and query the local MCP server via `curl`.
28-
- πŸ“– **[CLI Reference](docs/cli/reference.md)**: Comprehensive CLI reference and configurations.
29-
- πŸ“‘ **[Testnet Validation Tutorial](docs/testnet-validation.md)**: Real-time verification, remote tool invocation, and HTTP stream proxies.
27+
- πŸš€ **[User Quick Start Guide](site/content/docs/quickstart.md)**: Connect and run a SAM node using binaries or Docker, and query the local MCP server.
28+
- πŸ€– **[Agent Integration Guides](site/content/docs/agent_integration.md)**: Connect Google Gemini, Claude, and other AI agents to your SAM node to dynamically discover and call tools across the mesh.
29+
- πŸ“– **[CLI Reference](site/content/docs/cli/reference.md)**: Comprehensive CLI reference and configurations.
30+
- πŸ“‘ **[Testnet Validation Tutorial](site/content/docs/testnet-validation.md)**: Real-time verification, remote tool invocation, and HTTP stream proxies.
3031

3132
### For Developers & Contributors
3233
Compile from source, run local clusters, or execute tests:
33-
- πŸ› οΈ **[Developer Guide](docs/development.md)**: Prereqs, compilation, local hub setup, and Kubernetes Kind deployment.
34-
- πŸ§ͺ **[Testing Guide](docs/testing.md)**: Go tests, E2E BATS, and containerized mesh execution.
34+
- πŸ› οΈ **[Developer Guide](site/content/docs/development.md)**: Prereqs, compilation, local hub setup, and Kubernetes Kind deployment.
35+
- πŸ§ͺ **[Testing Guide](site/content/docs/testing.md)**: Go tests, E2E BATS, and containerized mesh execution.
3536

3637
---
3738

β€Ždocs/_sidebar.mdβ€Ž

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

β€Ždocs/index.htmlβ€Ž

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

0 commit comments

Comments
Β (0)