From 0fa51e90165723e1fde3eb66cf2014c17865c358 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Tue, 28 Nov 2023 12:25:49 -0500 Subject: [PATCH] ci: Update deploy-to-container/cli.js --- dev/deploy-to-container/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/deploy-to-container/cli.js b/dev/deploy-to-container/cli.js index d0d4cef54..53c9ababa 100644 --- a/dev/deploy-to-container/cli.js +++ b/dev/deploy-to-container/cli.js @@ -23,7 +23,7 @@ async function main () { throw new Error('Missing --branch argument!') } if (branch.indexOf('/') >= 0) { - branch = branch.split('/')[1] + branch = branch.split('/').shift().join('-') } branch = slugify(branch, { lower: true, strict: true }) if (branch.length < 1) {