Browse Source

Formatting

4.0.0-beta
Anairkoen Schno 5 years ago
parent
commit
d3ed99a9a9
2 changed files with 5 additions and 5 deletions
  1. +2
    -2
      .github/workflows/docs.yml
  2. +3
    -3
      .github/workflows/tag_docs.yml

+ 2
- 2
.github/workflows/docs.yml View File

@ -47,7 +47,7 @@ jobs:
Add-Content link_branch.json "{`"_gitContribute`":{`"sourceBranch`":`"$env:GITHUB_SHA`",`"apiSpecFolder`":`"docs/override`"}}"
powershell .\build.ps1
if ($lastexitcode -ne 0){
throw [System.Exception] "docfx build failed with exit code $lastexitcode."
throw [System.Exception] "docfx build failed with exit code $lastexitcode."
}
- name: Publish master site to GitHub pages
shell: powershell
@ -76,7 +76,7 @@ jobs:
$srcMessage = (git show -s --format=%B $env:GITHUB_SHA) -join "`n"
cd $env:ORIGIN_SITE
if (-Not (Test-Path $env:BRANCH_DIR)) {
New-Item -ItemType directory -Path $env:BRANCH_DIR
}


+ 3
- 3
.github/workflows/tag_docs.yml View File

@ -45,10 +45,10 @@ jobs:
run: |
Add-Content link_branch.json "{`"_gitContribute`":{`"sourceBranch`":`"$env:GITHUB_SHA`",`"apiSpecFolder`":`"docs/override`"}}"
powershell .\build.ps1
if ($lastexitcode -ne 0){
throw [System.Exception] "docfx build failed with exit code $lastexitcode."
if ($lastexitcode -ne 0) {
throw [System.Exception] "docfx build failed with exit code $lastexitcode."
}
- name: Publish tag site to GitHub pages
- name: Publish tag site to GitHub pages
shell: powershell
working-directory: ./docs
run: |


Loading…
Cancel
Save