Skip to content

Commit c7cca14

Browse files
committed
Fix for / in deployment name
1 parent b99cb18 commit c7cca14

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export async function run() {
3636

3737
const deploymentName =
3838
ephemeral.toLowerCase() === 'true'
39-
? `${branchOrPR}-${randomUUID()}`
40-
: branchOrPR
39+
? `${branchOrPR.replace('/', '-')}-${randomUUID()}`
40+
: branchOrPR.replace('/', '-')
4141

4242
if (cleanup_service_uuid || cleanup_app_uuid) {
4343
await coolify.cleanup({

0 commit comments

Comments
 (0)