mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-26 15:57:56 +01:00
pre-alpha -> alpha
This commit is contained in:
19
.github/workflows/api-docs.yml
vendored
19
.github/workflows/api-docs.yml
vendored
@@ -17,7 +17,6 @@ jobs:
|
|||||||
runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
#if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
|
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: DocFX Build
|
- name: DocFX Build
|
||||||
@@ -41,17 +40,17 @@ jobs:
|
|||||||
path: docfx/_site
|
path: docfx/_site
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop'
|
if: github.ref_name github.ref_name == 'v2_develop' || github.ref_name == 'v2_release'
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v4
|
uses: actions/deploy-pages@v4
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.GITHUB_TOKEN }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: v2_develop Repository Dispatch ${{ github.ref_name }}
|
# - name: v2_develop Repository Dispatch ${{ github.ref_name }}
|
||||||
if: github.ref_name == 'v2_develop'
|
# if: github.ref_name == 'v2_develop'
|
||||||
uses: peter-evans/repository-dispatch@v3
|
# uses: peter-evans/repository-dispatch@v3
|
||||||
with:
|
# with:
|
||||||
token: ${{ secrets.V2DOCS_TOKEN }}
|
# token: ${{ secrets.V2DOCS_TOKEN }}
|
||||||
repository: gui-cs/Terminal.GuiV2Docs
|
# repository: gui-cs/Terminal.GuiV2Docs
|
||||||
event-type: v2_develop_push
|
# event-type: v2_develop_push
|
||||||
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
# client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
||||||
|
|||||||
@@ -33,8 +33,8 @@ branches:
|
|||||||
main:
|
main:
|
||||||
# Matches the v2_release branch
|
# Matches the v2_release branch
|
||||||
regex: ^v2_release$
|
regex: ^v2_release$
|
||||||
# Uses 'prealpha' as pre-release label before official release
|
# Uses 'alpha' as pre-release label before `beta`
|
||||||
label: prealpha
|
label: alpha
|
||||||
# Increments patch version (x.y.z+1) on commits
|
# Increments patch version (x.y.z+1) on commits
|
||||||
increment: Patch
|
increment: Patch
|
||||||
# Specifies v2_develop as the source branch
|
# Specifies v2_develop as the source branch
|
||||||
|
|||||||
Reference in New Issue
Block a user