File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,14 @@ if (-not (Get-Module -ListAvailable GitHubActions)) {
9
9
10
10
Import-Module GitHubActions
11
11
12
- $repositoryUrl = Get-ActionInput repositoryUrl - Required
12
+ $repositoryName = Get-ActionInput repositoryName - Required
13
13
$defaultBranch = Get-ActionInput defaultBranch
14
14
$rootDocsFolder = Get-ActionInput root
15
15
$convertRootReadmeToHomePage = Get-ActionInput convertRootReadmeToHomePage
16
16
$useHeaderForWikiName = Get-ActionInput useHeaderForWikiName
17
17
18
+ $repositoryUrl = " https://github.com/$repositoryName "
19
+
18
20
$wikiRepoName = ($repositoryUrl -split " /" )[-1 ] + " .wiki"
19
21
$wikiRepoUrl = " $repositoryUrl .wiki.git"
20
22
Original file line number Diff line number Diff line change @@ -4,8 +4,8 @@ description: Converts markdown content in a repository into a wiki.
4
4
5
5
inputs :
6
6
7
- repositoryUrl :
8
- description : The url of the repository being operated on
7
+ repositoryName :
8
+ description : The repository being operated on
9
9
required : true
10
10
11
11
defaultBranch :
You can’t perform that action at this time.
0 commit comments