Attempt to Publish v2 API docs with new workflow 3

This commit is contained in:
Tigger Kindel
2023-12-01 15:37:27 -07:00
parent e767707e21
commit a6f6cf90f0
2 changed files with 3 additions and 4 deletions

View File

@@ -11,7 +11,7 @@ permissions:
jobs:
# Single deploy job since we're just deploying
deploy:
name: Build and Deploy API docs to gh-pages
name: Build and Deploy API docs to ${{ steps.deployment.outputs.page_url }}
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
@@ -33,7 +33,6 @@ jobs:
- name: DocFX Build
working-directory: docfx
# https://stackoverflow.com/questions/56726429/how-to-run-multiple-commands-in-one-github-actions-docker
run: |
rm ../v2_docs -Recurse -Force -ErrorAction SilentlyContinue
rm ../api -Recurse -Force -ErrorAction SilentlyContinue

View File

@@ -13,7 +13,7 @@
"src": "../Terminal.Gui"
}
],
"dest": "api/Terminal.Gui",
"dest": "v2/api/Terminal.Gui",
"shouldSkipMarkup": true,
"properties": {
"TargetFramework": "net7.0"
@@ -32,7 +32,7 @@
"src": "../UICatalog"
}
],
"dest": "api/UICatalog",
"dest": "v2/api/UICatalog",
"shouldSkipMarkup": false,
"properties": {
"TargetFramework": "net7.0"