@webhikers/cli 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/commands/create.js +3 -3
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -136,7 +136,7 @@ export async function createCommand(name) {
|
|
|
136
136
|
console.log(" Creating Coolify project...");
|
|
137
137
|
const project = await coolifyApi(config, "POST", "/projects", {
|
|
138
138
|
name,
|
|
139
|
-
description: `${name}
|
|
139
|
+
description: `${name} - deployed via webhikers CLI`,
|
|
140
140
|
});
|
|
141
141
|
const projectUuid = project.uuid;
|
|
142
142
|
console.log(` Project created: ${projectUuid}`);
|
|
@@ -167,12 +167,12 @@ export async function createCommand(name) {
|
|
|
167
167
|
await coolifyApi(config, "POST", `/applications/${appUuid}/envs`, {
|
|
168
168
|
key: "PAYLOAD_SECRET",
|
|
169
169
|
value: payloadSecret,
|
|
170
|
-
|
|
170
|
+
is_preview: false,
|
|
171
171
|
});
|
|
172
172
|
await coolifyApi(config, "POST", `/applications/${appUuid}/envs`, {
|
|
173
173
|
key: "SITE_URL",
|
|
174
174
|
value: siteUrl,
|
|
175
|
-
|
|
175
|
+
is_preview: false,
|
|
176
176
|
});
|
|
177
177
|
|
|
178
178
|
// --- 7. Write .deploy.json ---
|