diff --git a/dist/index.js b/dist/index.js index f75d5b2..883d7c7 100644 --- a/dist/index.js +++ b/dist/index.js @@ -167,7 +167,7 @@ try { console.log('Configuring deployment key(s)'); child_process.execFileSync(sshAdd, ['-L']).toString().split(/\r?\n/).forEach(function(key) { - const parts = key.match(/\bgithub\.com[:/]([_.a-z0-9-]+\/[_.a-z0-9-]+)/); + const parts = key.match(/\bgithub\.com[:/]([_.a-z0-9-]+\/[_.a-z0-9-]+)/i); if (!parts) { return; diff --git a/index.js b/index.js index 5243e61..6c8d969 100644 --- a/index.js +++ b/index.js @@ -50,7 +50,7 @@ try { console.log('Configuring deployment key(s)'); child_process.execFileSync(sshAdd, ['-L']).toString().split(/\r?\n/).forEach(function(key) { - const parts = key.match(/\bgithub\.com[:/]([_.a-z0-9-]+\/[_.a-z0-9-]+)/); + const parts = key.match(/\bgithub\.com[:/]([_.a-z0-9-]+\/[_.a-z0-9-]+)/i); if (!parts) { return;