mirror of
https://github.com/coollabsio/coolify.git
synced 2026-09-26 01:10:30 -04:00
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:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user