chore: unify the labs under one GitHub Pages site

Each web demo builds with its base path under /ai-coding-workflow-labs/,
a single deploy workflow assembles them with a root index, and the
per-directory workflows from the standalone repos are removed.
This commit is contained in:
tiennm99 committed 2026-08-10 18:04:52 +07:00
1 parent 7b49784c18
commit 5157b63023
13 files changed
+129 -249

No files matched your search

-33
View File
@@ -1,33 +0,0 @@
name: CI
on:
pull_request:
push:
branches:
- main
permissions:
contents: read
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Typecheck
run: bun run typecheck
- name: Unit tests
run: bun run test
- name: Build
run: bun run build
-52
View File
@@ -1,52 +0,0 @@
name: Deploy to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages-deploy
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: 1.3.13
- name: Install dependencies
run: bun install --frozen-lockfile
- name: Build
run: bun run build
env:
SITE_URL: https://tiennm99.github.io
SITE_BASE: /try-gstack
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
+1 -1
View File
@@ -3,7 +3,7 @@ import tailwind from '@astrojs/tailwind';
import sitemap from '@astrojs/sitemap';
const siteUrl = process.env.SITE_URL ?? 'https://tiennm99.github.io';
const basePath = process.env.SITE_BASE ?? '/try-gstack';
const basePath = process.env.SITE_BASE ?? '/ai-coding-workflow-labs/gstack';
export default defineConfig({
site: siteUrl,