openclaw.ai/.github/workflows/deploy.yml
Peter Steinberger 185dd8cabd feat: redesign landing page with Astro
- Convert from plain HTML to Astro
- Add lobster-themed design with animated SVG mascot
- Four CTAs: Discord, Docs, GitHub, ClawdHub
- Quick start section with terminal snippet
- GitHub Actions workflow for Pages deployment
- Clash Display + Satoshi typography
- Deep space + bioluminescent color palette
2026-01-06 19:04:03 +01:00

50 lines
902 B
YAML

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 Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Build
run: bun run build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
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