File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ This operation is prohibited to protect your contents
9797 }
9898 }
9999
100- return `https: //x-access-token:${ githubToken } @${ getServerUrl ( ) . host } /${ publishRepo } .git` ;
100+ return `${ getServerUrl ( ) . host } //x-access-token:${ githubToken } @${ getServerUrl ( ) . host } /${ publishRepo } .git` ;
101101}
102102
103103export function setPersonalToken ( personalToken : string , publishRepo : string ) : string {
104104 core . info ( '[INFO] setup personal access token' ) ;
105- return `https: //x-access-token:${ personalToken } @${ getServerUrl ( ) . host } /${ publishRepo } .git` ;
105+ return `${ getServerUrl ( ) . host } //x-access-token:${ personalToken } @${ getServerUrl ( ) . host } /${ publishRepo } .git` ;
106106}
107107
108108export function getPublishRepo ( externalRepository : string , owner : string , repo : string ) : string {
You can’t perform that action at this time.
0 commit comments