Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

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

Andras Bacsai3e82166da0a3
diff --git a/.github/workflows/coolify-realtime.yml b/.github/workflows/coolify-realtime.yml
index 881c44aab7..495e6a4637 100644
--- a/.github/workflows/coolify-realtime.yml
+++ b/.github/workflows/coolify-realtime.yml
@@ -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:
diff --git a/tests/Unit/ProductionImageWorkflowTest.php b/tests/Unit/ProductionImageWorkflowTest.php
index 4d32f604fe..2c29fe55be 100644
--- a/tests/Unit/ProductionImageWorkflowTest.php
+++ b/tests/Unit/ProductionImageWorkflowTest.php
@@ -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')