ci: CD auto-deploy via workflow_run trigger
CI - Build & Test / Backend (.NET) (push) Successful in 27s
CI - Build & Test / Frontend (Vue/TS) (push) Successful in 16s
CI - Build & Test / Security Check (push) Successful in 3s

- deploy.yaml now triggers automatically after successful CI completion
- Adds workflow_run event listener for 'CI - Build & Test'
- Guards deploy to only run when CI conclusion == success
- Preserves manual workflow_dispatch for targeted deploys
- Adds CI/CD note to README
This commit is contained in:
2026-06-09 20:25:32 +02:00
parent cff73600b5
commit c01c6c990e
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -2,6 +2,10 @@ name: Deploy to Production
run-name: 🚀 Deploy ${{ inputs.bump_version || 'patch' }} by @${{ gitea.actor }} run-name: 🚀 Deploy ${{ inputs.bump_version || 'patch' }} by @${{ gitea.actor }}
on: on:
workflow_run:
workflows: ["CI - Build & Test"]
types: [completed]
branches: [main]
workflow_dispatch: workflow_dispatch:
inputs: inputs:
bump_version: bump_version:
@@ -28,6 +32,7 @@ jobs:
deploy: deploy:
name: Deploy Nexus name: Deploy Nexus
runs-on: deploy # only on runners with 'deploy' label runs-on: deploy # only on runners with 'deploy' label
if: ${{ gitea.event_name != 'workflow_run' || gitea.event.workflow_run.conclusion == 'success' }}
steps: steps:
- name: Checkout latest code - name: Checkout latest code
uses: actions/checkout@v3 uses: actions/checkout@v3
+2
View File
@@ -3,6 +3,8 @@
Nexus is the operations platform for the Noveria ecosystem. OpenClaw is an Nexus is the operations platform for the Noveria ecosystem. OpenClaw is an
adapter-backed agent runtime, not a dependency of the frontend or domain model. adapter-backed agent runtime, not a dependency of the frontend or domain model.
> CI/CD auto-deploy enabled — every push to main triggers build → test → deploy.
## Current foundation ## Current foundation
- Vue 3, TypeScript, Pinia, Vue Router and Tailwind CSS - Vue 3, TypeScript, Pinia, Vue Router and Tailwind CSS