Restore PROMPT branding, rename waterfall-wiki, and add system tag workflows
waterfall-wiki CI and deployment / verify-and-deploy (push) Has been cancelled
studio CI and deployment / verify-and-deploy (push) Successful in 9m15s

This commit is contained in:
2026-10-27 00:35:59 +08:00
parent 0c1ed2d292
commit ad398db781
178 changed files with 585 additions and 365 deletions
@@ -1,10 +1,10 @@
name: wiki CI and deployment
name: waterfall-wiki CI and deployment
on:
push:
branches: [main]
paths:
- 'apps/wiki/**'
- '.gitea/workflows/wiki.yml'
- 'apps/waterfall-wiki/**'
- '.gitea/workflows/waterfall-wiki.yml'
- 'Dockerfile'
- 'compose.yml'
- 'scripts/deploy.sh'
@@ -14,8 +14,8 @@ on:
- 'pnpm-workspace.yaml'
pull_request:
paths:
- 'apps/wiki/**'
- '.gitea/workflows/wiki.yml'
- 'apps/waterfall-wiki/**'
- '.gitea/workflows/waterfall-wiki.yml'
- 'Dockerfile'
- 'compose.yml'
- 'scripts/deploy.sh'
@@ -34,16 +34,16 @@ jobs:
with:
fetch-depth: 0
- name: Validate configuration
run: docker compose --env-file apps/wiki/.env.example config --quiet
- name: Build and verify Wiki
run: docker build --target integration -t "prompt-tests:${{ gitea.sha }}" .
run: docker compose --env-file apps/waterfall-wiki/.env.example config --quiet
- name: Build and verify waterfall-wiki
run: docker build --target integration -t "waterfall-wiki-tests:${{ gitea.sha }}" .
- name: Build runtime
run: docker build --target runtime -t "prompt:${{ gitea.sha }}" .
run: docker build --target runtime -t "waterfall-wiki:${{ gitea.sha }}" .
- name: Integration stack
env:
PROMPT_IMAGE: prompt:${{ gitea.sha }}
PROMPT_TEST_IMAGE: prompt-tests:${{ gitea.sha }}
WATERFALL_WIKI_IMAGE: waterfall-wiki:${{ gitea.sha }}
WATERFALL_WIKI_TEST_IMAGE: waterfall-wiki-tests:${{ gitea.sha }}
run: bash scripts/integration.sh
- name: Deploy Wiki
- name: Deploy waterfall-wiki
if: gitea.ref == 'refs/heads/main' && (gitea.event_name == 'push' || gitea.event_name == 'workflow_dispatch')
run: bash scripts/deploy.sh "${{ gitea.sha }}"