Add GitHub Pages deployment configuration

- Add GitHub Actions workflow for automatic deployment
- Add CNAME file for custom domain (agents.jeffemmett.com)
- Workflow runs on push to main and generates dashboard
This commit is contained in:
Claude 2025-11-23 19:37:55 +00:00
parent 52c1fcc8b7
commit 479dddf7e7
No known key found for this signature in database
2 changed files with 59 additions and 0 deletions

58
.github/workflows/deploy.yml vendored Normal file
View File

@ -0,0 +1,58 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install dependencies
run: npm ci
- name: Generate dashboard
run: python3 generate_index.py
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: '.'
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

1
CNAME Normal file
View File

@ -0,0 +1 @@
agents.jeffemmett.com