diff --git a/.github/workflows/api-docs.yml b/.github/workflows/api-docs.yml index cb570317f..075ee96dc 100644 --- a/.github/workflows/api-docs.yml +++ b/.github/workflows/api-docs.yml @@ -17,7 +17,6 @@ jobs: runs-on: windows-latest steps: - name: Checkout - #if: github.ref_name == 'v1_release' || github.ref_name == 'v1_develop' uses: actions/checkout@v4 - name: DocFX Build @@ -41,17 +40,17 @@ jobs: path: docfx/_site - name: Deploy to GitHub Pages - if: github.ref_name == 'v2_release' || github.ref_name == 'v2_develop' + if: github.ref_name github.ref_name == 'v2_develop' || github.ref_name == 'v2_release' id: deployment uses: actions/deploy-pages@v4 with: token: ${{ secrets.GITHUB_TOKEN }} - - 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.GuiV1Docs - event-type: v2_develop_push - client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' + # - 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.GuiV1Docs + # event-type: v2_develop_push + # client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' diff --git a/GitVersion.yml b/GitVersion.yml index b2ba90ee1..825fac8ba 100644 --- a/GitVersion.yml +++ b/GitVersion.yml @@ -33,8 +33,8 @@ branches: main: # Matches the v2_release branch regex: ^v2_release$ - # Uses 'prealpha' as pre-release label before official release - label: prealpha + # Uses 'alpha' as pre-release label before `beta` + label: alpha # Increments patch version (x.y.z+1) on commits increment: Patch # Specifies v2_develop as the source branch