diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 9c648ca..bfff950 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -2,6 +2,10 @@ name: Deploy to Production run-name: 🚀 Deploy ${{ inputs.bump_version || 'patch' }} by @${{ gitea.actor }} on: + workflow_run: + workflows: ["CI - Build & Test"] + types: [completed] + branches: [main] workflow_dispatch: inputs: bump_version: @@ -28,6 +32,7 @@ jobs: deploy: name: Deploy Nexus runs-on: deploy # only on runners with 'deploy' label + if: ${{ gitea.event_name != 'workflow_run' || gitea.event.workflow_run.conclusion == 'success' }} steps: - name: Checkout latest code uses: actions/checkout@v3 diff --git a/README.md b/README.md index 64f1dbe..467e1f7 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ 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. +> CI/CD auto-deploy enabled — every push to main triggers build → test → deploy. + ## Current foundation - Vue 3, TypeScript, Pinia, Vue Router and Tailwind CSS