Skip to content

Commit 8c7c266

Browse files
committed
Migrating api docs 3
2 parents 5e96525 + f4d4a25 commit 8c7c266

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

.github/workflows/api-docs.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ jobs:
1717
runs-on: windows-latest
1818
steps:
1919
- name: Checkout
20-
#if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
2120
uses: actions/checkout@v4
2221

2322
- name: DocFX Build
@@ -41,17 +40,17 @@ jobs:
4140
path: docfx/_site
4241

4342
- name: Deploy to GitHub Pages
44-
if: github.ref_name == 'v2_release' || github.ref_name == 'v2_develop'
43+
if: github.ref_name github.ref_name == 'v2_develop' || github.ref_name == 'v2_release'
4544
id: deployment
4645
uses: actions/deploy-pages@v4
4746
with:
4847
token: ${{ secrets.GITHUB_TOKEN }}
4948

50-
- name: v1_release Repository Dispatch ${{ github.ref_name }}
51-
if: github.ref_name == 'v2_develop'
52-
uses: peter-evans/repository-dispatch@v3
53-
with:
54-
token: ${{ secrets.V2DOCS_TOKEN }}
55-
repository: gui-cs/Terminal.GuiV1Docs
56-
event-type: v2_develop_push
57-
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
49+
# - name: v1_release Repository Dispatch ${{ github.ref_name }}
50+
# if: github.ref_name == 'v2_develop'
51+
# uses: peter-evans/repository-dispatch@v3
52+
# with:
53+
# token: ${{ secrets.V2DOCS_TOKEN }}
54+
# repository: gui-cs/Terminal.GuiV1Docs
55+
# event-type: v2_develop_push
56+
# client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'

GitVersion.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ branches:
3333
main:
3434
# Matches the v2_release branch
3535
regex: ^v2_release$
36-
# Uses 'prealpha' as pre-release label before official release
37-
label: prealpha
36+
# Uses 'alpha' as pre-release label before `beta`
37+
label: alpha
3838
# Increments patch version (x.y.z+1) on commits
3939
increment: Patch
4040
# Specifies v2_develop as the source branch

0 commit comments

Comments
 (0)