From 40d6250427cdc550bfb3c302cc89c77d0e5ddcc2 Mon Sep 17 00:00:00 2001 From: Tig Date: Thu, 12 Jun 2025 12:18:25 -0600 Subject: [PATCH] Migrating api docs --- .github/workflows/api-docs.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index fb2584163..cb570317f 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -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 }}"}'