mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
Refactor GitHub deployment handler: simplify owner extraction logic by removing fallback to login name.
This commit is contained in:
parent
56f525803b
commit
55dc08b6ba
@ -97,9 +97,7 @@ export default async function handler(
|
||||
try {
|
||||
const tagName = githubBody?.ref.replace("refs/tags/", "");
|
||||
const repository = githubBody?.repository?.name;
|
||||
const owner =
|
||||
githubBody?.repository?.owner?.name ||
|
||||
githubBody?.repository?.owner?.login;
|
||||
const owner = githubBody?.repository?.owner?.name;
|
||||
const deploymentTitle = `Tag created: ${tagName}`;
|
||||
const deploymentHash = extractHash(req.headers, githubBody);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user