From 479dddf7e703bf25e6a1f39c6960f020dbdffd18 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 23 Nov 2025 19:37:55 +0000 Subject: [PATCH] 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 --- .github/workflows/deploy.yml | 58 ++++++++++++++++++++++++++++++++++++ CNAME | 1 + 2 files changed, 59 insertions(+) create mode 100644 .github/workflows/deploy.yml create mode 100644 CNAME diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..5bbb178 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..ec87108 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +agents.jeffemmett.com