Skip to content

Commit

Permalink
Initialize open publishing repository: https://github.com/MicrosoftDo…
Browse files Browse the repository at this point in the history
…cs/powerbi-docs-pr of branch master
  • Loading branch information
sudeepku committed Nov 7, 2017
1 parent 11fe374 commit fae9d3d
Show file tree
Hide file tree
Showing 5 changed files with 462 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .openpublishing.build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
param(
[string]$buildCorePowershellUrl = "https://opbuildstorageprod.blob.core.windows.net/opps1container/.openpublishing.buildcore.ps1",
[string]$parameters
)
# Main
$errorActionPreference = 'Stop'

# Step-1: Download buildcore script to local
echo "download build core script to local with source url: $buildCorePowershellUrl"
$repositoryRoot = Split-Path -Parent $MyInvocation.MyCommand.Definition
$buildCorePowershellDestination = "$repositoryRoot\.openpublishing.buildcore.ps1"
Invoke-WebRequest $buildCorePowershellUrl -OutFile "$buildCorePowershellDestination"

# Step-2: Run build core
echo "run build core script with parameters: $parameters"
& "$buildCorePowershellDestination" "$parameters"
exit $LASTEXITCODE
18 changes: 18 additions & 0 deletions .openpublishing.publish.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"docsets_to_publish": [],
"notification_subscribers": [],
"branches_to_filter": [],
"skip_source_output_uploading": false,
"need_preview_pull_request": true,
"contribution_branch_mappings": {},
"dependent_repositories": [
{
"path_to_root": "_themes",
"url": "https://github.com/Microsoft/templates.docs.msft",
"branch": "master",
"branch_mapping": {}
}
],
"branch_target_mapping": {},
"need_generate_pdf_url_template": false
}
Loading

0 comments on commit fae9d3d

Please sign in to comment.