Restore PROMPT branding, rename waterfall-wiki, and add system tag workflows
This commit is contained in:
@@ -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 }}"
|
||||
Reference in New Issue
Block a user