Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
76 changes: 76 additions & 0 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Deployment to GitHub Pages

on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'site/**'
- 'docs/**'
- '.github/workflows/deploy-github-pages.yml'
pull_request:
paths:
- 'site/**'
- 'docs/**'
- '.github/workflows/deploy-github-pages.yml'

permissions:
contents: write

env:
REPO_NAME: ${{ github.event.repository.name }}
REPO_OWNER: ${{ github.repository_owner }}

jobs:
deploy:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
submodules: recursive # Fetch any git submodules if configured

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: '0.136.5' # Matching local Hugo version
extended: true

- uses: actions/setup-node@v6
with:
node-version: '20'
check-latest: true

- name: Install PostCSS dependencies
run: |
npm init --yes
npm install --save-dev autoprefixer postcss-cli postcss
working-directory: ./site

- name: Build Hugo Site
run: hugo --baseURL https://sam-mesh.dev --minify
working-directory: ./site

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site/public
cname: sam-mesh.dev
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SAM: Sovereign Agent Mesh

<img alt="SAM" src="docs/sam_logo.png" />
<img alt="SAM" src="site/content/docs/sam_logo.png" />

SAM is a smart network built for autonomous AI agents:

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

### For Users & Operators
Get a node running on the public testnet (`bananas.sam-mesh.dev`) in minutes:
- 🚀 **[User Quick Start Guide](docs/quickstart.md)**: Connect and run a SAM node using Docker and query the local MCP server via `curl`.
- 📖 **[CLI Reference](docs/cli/reference.md)**: Comprehensive CLI reference and configurations.
- 📡 **[Testnet Validation Tutorial](docs/testnet-validation.md)**: Real-time verification, remote tool invocation, and HTTP stream proxies.
- 🚀 **[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.
- 🤖 **[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.
- 📖 **[CLI Reference](site/content/docs/cli/reference.md)**: Comprehensive CLI reference and configurations.
- 📡 **[Testnet Validation Tutorial](site/content/docs/testnet-validation.md)**: Real-time verification, remote tool invocation, and HTTP stream proxies.

### For Developers & Contributors
Compile from source, run local clusters, or execute tests:
- 🛠️ **[Developer Guide](docs/development.md)**: Prereqs, compilation, local hub setup, and Kubernetes Kind deployment.
- 🧪 **[Testing Guide](docs/testing.md)**: Go tests, E2E BATS, and containerized mesh execution.
- 🛠️ **[Developer Guide](site/content/docs/development.md)**: Prereqs, compilation, local hub setup, and Kubernetes Kind deployment.
- 🧪 **[Testing Guide](site/content/docs/testing.md)**: Go tests, E2E BATS, and containerized mesh execution.

---

Expand Down
7 changes: 0 additions & 7 deletions docs/_sidebar.md

This file was deleted.

181 changes: 0 additions & 181 deletions docs/index.html

This file was deleted.

Loading
Loading