ci(realtime): enable manual runs and config-triggered builds

Add workflow dispatch support and rebuild triggers for config/constants.php, with test coverage for both workflow changes.
This commit is contained in:
Andras Bacsai
2026-09-21 12:40:54 +02:00
parent 21b6383fd7
commit 3e82166da0
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -1,10 +1,12 @@
name: Coolify Realtime
on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- .github/workflows/coolify-realtime.yml
- config/constants.php
- docker/coolify-realtime/**
permissions:
@@ -94,6 +94,8 @@ it('prevents the stable realtime workflow from publishing an existing version',
$workflow = file_get_contents(dirname(__DIR__, 2).'/.github/workflows/coolify-realtime.yml');
expect($workflow)
->toContain('workflow_dispatch:')
->toContain('- config/constants.php')
->toContain('check-version:')
->toContain('needs: check-version')
->toContain('php bootstrap/getRealtimeVersion.php')