mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Attempt to Publish v2 API docs with new workflow 3
This commit is contained in:
3
.github/workflows/api-docs.yml
vendored
3
.github/workflows/api-docs.yml
vendored
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user