Skip to content

Commit 2293b64

Browse files
committed
Initialize open publishing repository: https://github.com/MicrosoftDocs/WSL of branch master
1 parent 1bba335 commit 2293b64

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.openpublishing.build.ps1

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
param(
2+
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
3+
[string]$parameters
4+
)
5+
# Main
6+
$errorActionPreference = 'Stop'
7+
8+
# Step-1: Download buildcore script to local
9+
echo "download build core script to local with source url: $buildCorePowershellUrl"
10+
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
11+
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
12+
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"
13+
14+
# Step-2: Run build core
15+
echo "run build core script with parameters: $parameters"
16+
& "$buildCorePowershellDestination" "$parameters"
17+
exit $LASTEXITCODE
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"docsets_to_publish": [],
3+
"notification_subscribers": [],
4+
"branches_to_filter": [],
5+
"skip_source_output_uploading": false,
6+
"contribution_branch_mappings": {},
7+
"dependent_repositories": [
8+
{
9+
"path_to_root": "_themes",
10+
"url": "https://github.com/Microsoft/templates.docs.msft",
11+
"branch": "master",
12+
"branch_mapping": {}
13+
}
14+
],
15+
"branch_target_mapping": {},
16+
"need_generate_pdf_url_template": false
17+
}

0 commit comments

Comments
 (0)