mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
Migrating api docs
This commit is contained in:
6
.github/workflows/api-docs.yml
vendored
6
.github/workflows/api-docs.yml
vendored
@@ -41,17 +41,17 @@ jobs:
|
||||
path: docfx/_site
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
|
||||
if: github.ref_name == 'v2_release' || github.ref_name == 'v2_develop'
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: v2_develop Repository Dispatch ${{ github.ref_name }}
|
||||
- name: v1_release Repository Dispatch ${{ github.ref_name }}
|
||||
if: github.ref_name == 'v2_develop'
|
||||
uses: peter-evans/repository-dispatch@v3
|
||||
with:
|
||||
token: ${{ secrets.V2DOCS_TOKEN }}
|
||||
repository: gui-cs/Terminal.GuiV2Docs
|
||||
repository: gui-cs/Terminal.GuiV1Docs
|
||||
event-type: v2_develop_push
|
||||
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
||||
|
||||
Reference in New Issue
Block a user