Skip to content

Commit 6df6d14

Browse files
committed
Initialize open publishing repository: https://github.com/MicrosoftDocs/office-docs-powershell of branch live
1 parent 96bc9e5 commit 6df6d14

5 files changed

+463
-0
lines changed

.openpublishing.build.ps1

+17
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

.openpublishing.publish.config.json

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"need_generate_pdf": false,
3+
"need_generate_intellisense": false,
4+
"docsets_to_publish": [],
5+
"notification_subscribers": [],
6+
"branches_to_filter": [],
7+
"skip_source_output_uploading": false,
8+
"need_preview_pull_request": false,
9+
"dependent_repositories": [
10+
{
11+
"path_to_root": "_themes",
12+
"url": "https://github.com/Microsoft/templates.docs.msft",
13+
"branch": "master",
14+
"branch_mapping": {}
15+
}
16+
],
17+
"branch_target_mapping": {},
18+
"need_generate_pdf_url_template": false
19+
}

0 commit comments

Comments
 (0)