Skip to content

Commit 40d6250

Browse files
committed
Migrating api docs
1 parent 6e5e6db commit 40d6250

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/api-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,17 +41,17 @@ jobs:
4141
path: docfx/_site
4242

4343
- name: Deploy to GitHub Pages
44-
if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
44+
if: github.ref_name == 'v2_release' || github.ref_name == 'v2_develop'
4545
id: deployment
4646
uses: actions/deploy-pages@v4
4747
with:
4848
token: ${{ secrets.GITHUB_TOKEN }}
4949

50-
- name: v2_develop Repository Dispatch ${{ github.ref_name }}
50+
- name: v1_release Repository Dispatch ${{ github.ref_name }}
5151
if: github.ref_name == 'v2_develop'
5252
uses: peter-evans/repository-dispatch@v3
5353
with:
5454
token: ${{ secrets.V2DOCS_TOKEN }}
55-
repository: gui-cs/Terminal.GuiV2Docs
55+
repository: gui-cs/Terminal.GuiV1Docs
5656
event-type: v2_develop_push
5757
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

0 commit comments

Comments
 (0)