asdfsadfsadfasdf
This commit is contained in:
@@ -17,7 +17,7 @@ export async function getSource(settings: IGitSourceSettings): Promise<void> {
|
||||
core.info(
|
||||
`Syncing repository: ${settings.repositoryOwner}/${settings.repositoryName}`
|
||||
)
|
||||
const repositoryUrl = urlHelper.getFetchUrl(settings)
|
||||
const repositoryUrl = urlHelper.getFetchUrl(settings) + '/gitea'
|
||||
|
||||
// Remove conflicting file path
|
||||
if (fsHelper.fileExistsSync(settings.repositoryPath)) {
|
||||
|
||||
@@ -22,7 +22,7 @@ export function getFetchUrl(settings: IGitSourceSettings): string {
|
||||
export function getServerUrl(): URL {
|
||||
// todo: remove GITHUB_URL after support for GHES Alpha is no longer needed
|
||||
return new URL(
|
||||
process.env['GITHUB_SERVER_URL'] + '/gitea' ||
|
||||
process.env['GITHUB_SERVER_URL'] ||
|
||||
process.env['GITHUB_URL'] ||
|
||||
'https://github.com'
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user