mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor(dokploy): add log for jobdata
This commit is contained in:
@@ -7,6 +7,9 @@ export const deploy = async (jobData: DeploymentJob) => {
|
|||||||
if (server.serverStatus === "inactive") {
|
if (server.serverStatus === "inactive") {
|
||||||
throw new Error("Server is inactive");
|
throw new Error("Server is inactive");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(jobData);
|
||||||
|
console.log(`${process.env.SERVER_URL}/deploy`);
|
||||||
const result = await fetch(`${process.env.SERVER_URL}/deploy`, {
|
const result = await fetch(`${process.env.SERVER_URL}/deploy`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
|
|||||||
Reference in New Issue
Block a user