Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

feat(21-3): Add frontend deploy API method

Juan Denis19643830a94c
diff --git a/frontend/src/services/api.js b/frontend/src/services/api.js
index a5cf17ff..1b895329 100644
--- a/frontend/src/services/api.js
+++ b/frontend/src/services/api.js
@@ -2251,6 +2251,12 @@ class ApiService {
method: 'DELETE'
});
}
+
+ async deployWorkflow(id) {
+ return this.request(`/workflows/${id}/deploy`, {
+ method: 'POST'
+ });
+ }
}
export const api = new ApiService();