From e193054bd47cccf12915f4e2855464ee40f550f7 Mon Sep 17 00:00:00 2001 From: Stamen Stoychev Date: Tue, 28 Apr 2026 18:01:19 +0300 Subject: [PATCH 1/2] feat(*): adding jQuery deploy, deploy to igniteui.com, better path matching Co-authored-by: Copilot --- .github/workflows/_cd-deploy.yml | 37 +++++++++--------- .github/workflows/cd-angular-en.yml | 34 +++++++++++++++++ .github/workflows/cd-angular-jp.yml | 34 +++++++++++++++++ .../workflows/{cd-en.yml => cd-jquery-en.yml} | 8 +++- .../workflows/{cd-jp.yml => cd-jquery-jp.yml} | 8 +++- .github/workflows/cd-xplat-en.yml | 38 +++++++++++++++++++ .github/workflows/cd-xplat-jp.yml | 38 +++++++++++++++++++ docs/jquery/astro.config.ts | 4 +- src/platform.ts | 4 +- 9 files changed, 181 insertions(+), 24 deletions(-) create mode 100644 .github/workflows/cd-angular-en.yml create mode 100644 .github/workflows/cd-angular-jp.yml rename .github/workflows/{cd-en.yml => cd-jquery-en.yml} (76%) rename .github/workflows/{cd-jp.yml => cd-jquery-jp.yml} (76%) create mode 100644 .github/workflows/cd-xplat-en.yml create mode 100644 .github/workflows/cd-xplat-jp.yml diff --git a/.github/workflows/_cd-deploy.yml b/.github/workflows/_cd-deploy.yml index 06ee366773..f78b1d99f1 100644 --- a/.github/workflows/_cd-deploy.yml +++ b/.github/workflows/_cd-deploy.yml @@ -3,6 +3,10 @@ name: _CD Deploy (reusable) on: workflow_call: inputs: + platform: + description: 'Platform to build (angular, react, wc, blazor, jquery)' + required: true + type: string locale: description: 'Locale to build (en or jp)' required: true @@ -26,43 +30,39 @@ jobs: name: Build and Deploy runs-on: ubuntu-latest - strategy: - matrix: - platform: ['angular', 'react', 'wc', 'blazor'] - steps: - name: Checkout repository - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.target_ref }} clean: true fetch-tags: true fetch-depth: 0 - - name: Setup Node.js 22.x - uses: actions/setup-node@v4 + - name: Setup Node.js 24.x + uses: actions/setup-node@v6 with: - node-version: '22.x' + node-version: '24.x' - name: Install dependencies run: npm ci - - name: Build Documentation for ${{ matrix.platform }} (${{ inputs.locale }}) - run: npm run build:${{ env.BUILD_TYPE }}:${{ matrix.platform }}:${{ inputs.locale }} + - name: Build Documentation for ${{ inputs.platform }} (${{ inputs.locale }}) + run: npm run build:${{ env.BUILD_TYPE }}:${{ inputs.platform }}:${{ inputs.locale }} - name: Package build run: | LOCALE="${{ inputs.locale }}" - DIST_DIR="dist/${{ matrix.platform }}$([[ "$LOCALE" == 'en' ]] && echo '' || echo "-$LOCALE")" + DIST_DIR="dist/${{ inputs.platform }}$([[ "$LOCALE" == 'en' ]] && echo '' || echo "-$LOCALE")" cd "$DIST_DIR" - zip -r ../../${{ env.BUILD_TYPE }}_${{ matrix.platform }}_${{ inputs.locale }}.zip . + zip -r ../../${{ env.BUILD_TYPE }}_${{ inputs.platform }}_${{ inputs.locale }}.zip . cd ../.. - name: Upload artifact uses: actions/upload-artifact@v4 with: - name: igniteui-docs-${{ matrix.platform }}-${{ inputs.locale }} - path: ${{ env.BUILD_TYPE }}_${{ matrix.platform }}_${{ inputs.locale }}.zip + name: igniteui-docs-${{ inputs.platform }}-${{ inputs.locale }} + path: ${{ env.BUILD_TYPE }}_${{ inputs.platform }}_${{ inputs.locale }}.zip retention-days: 1 - name: Trigger Deploy Workflow in IgniteUI Actions @@ -77,11 +77,12 @@ jobs: client_payload: { calling_branch: "${{ inputs.target_ref }}", environment: "${{ env.BUILD_TYPE }}", - artifact_name: "igniteui-docs-${{ matrix.platform }}-${{ inputs.locale }}", - base_href: "docs-${{ matrix.platform }}-new", - platform: "${{ matrix.platform }}", + artifact_name: "igniteui-docs-${{ inputs.platform }}-${{ inputs.locale }}", + base_href: "docs-${{ inputs.platform }}-new", + platform: "${{ inputs.platform }}", repository: "${{ github.repository }}", run_id: "${{ github.run_id }}", - locale: "${{ inputs.locale }}" + locale: "${{ inputs.locale }}", + deploy_igniteui: ${{ inputs.platform == 'jquery' }} } }); diff --git a/.github/workflows/cd-angular-en.yml b/.github/workflows/cd-angular-en.yml new file mode 100644 index 0000000000..0ec37aafe4 --- /dev/null +++ b/.github/workflows/cd-angular-en.yml @@ -0,0 +1,34 @@ +name: Build And Deploy Angular Documentation EN + +permissions: + contents: read + +on: + push: + branches: + - vnext + - master + paths-ignore: + - 'docs/jquery/**' + - 'docs/xplat/**' + - 'docs/wpf/**' + - 'docs/winforms/**' + - 'docs/aspnet/**' + - '**/jp/**' + - '**/kr/**' + workflow_dispatch: + inputs: + branch: + description: 'Branch to checkout' + type: string + default: 'vnext' + +jobs: + deploy: + uses: ./.github/workflows/_cd-deploy.yml + with: + locale: en + platform: angular + target_ref: ${{ github.event.inputs.branch && (startsWith(github.event.inputs.branch, 'refs/') && github.event.inputs.branch || format('refs/heads/{0}', github.event.inputs.branch)) || github.ref }} + secrets: + CLASSIC_PAT_GITHUB: ${{ secrets.CLASSIC_PAT_GITHUB }} diff --git a/.github/workflows/cd-angular-jp.yml b/.github/workflows/cd-angular-jp.yml new file mode 100644 index 0000000000..e8c58a3230 --- /dev/null +++ b/.github/workflows/cd-angular-jp.yml @@ -0,0 +1,34 @@ +name: Build And Deploy Angular Documentation JP + +permissions: + contents: read + +on: + push: + branches: + - vnext + - master + paths-ignore: + - 'docs/jquery/**' + - 'docs/xplat/**' + - 'docs/wpf/**' + - 'docs/winforms/**' + - 'docs/aspnet/**' + - '**/en/**' + - '**/kr/**' + workflow_dispatch: + inputs: + branch: + description: 'Branch to checkout' + type: string + default: 'vnext' + +jobs: + deploy: + uses: ./.github/workflows/_cd-deploy.yml + with: + locale: jp + platform: angular + target_ref: ${{ github.event.inputs.branch && (startsWith(github.event.inputs.branch, 'refs/') && github.event.inputs.branch || format('refs/heads/{0}', github.event.inputs.branch)) || github.ref }} + secrets: + CLASSIC_PAT_GITHUB: ${{ secrets.CLASSIC_PAT_GITHUB }} diff --git a/.github/workflows/cd-en.yml b/.github/workflows/cd-jquery-en.yml similarity index 76% rename from .github/workflows/cd-en.yml rename to .github/workflows/cd-jquery-en.yml index c9229299e8..3df88677fd 100644 --- a/.github/workflows/cd-en.yml +++ b/.github/workflows/cd-jquery-en.yml @@ -1,4 +1,4 @@ -name: Build And Deploy Documentation EN +name: Build And Deploy jQuery Documentation EN permissions: contents: read @@ -9,6 +9,11 @@ on: - vnext - master paths-ignore: + - 'docs/angular/**' + - 'docs/xplat/**' + - 'docs/wpf/**' + - 'docs/winforms/**' + - 'docs/aspnet/**' - '**/jp/**' - '**/kr/**' workflow_dispatch: @@ -23,6 +28,7 @@ jobs: uses: ./.github/workflows/_cd-deploy.yml with: locale: en + platform: jquery target_ref: ${{ github.event.inputs.branch && (startsWith(github.event.inputs.branch, 'refs/') && github.event.inputs.branch || format('refs/heads/{0}', github.event.inputs.branch)) || github.ref }} secrets: CLASSIC_PAT_GITHUB: ${{ secrets.CLASSIC_PAT_GITHUB }} diff --git a/.github/workflows/cd-jp.yml b/.github/workflows/cd-jquery-jp.yml similarity index 76% rename from .github/workflows/cd-jp.yml rename to .github/workflows/cd-jquery-jp.yml index 45bdf778b7..b78f266d04 100644 --- a/.github/workflows/cd-jp.yml +++ b/.github/workflows/cd-jquery-jp.yml @@ -1,4 +1,4 @@ -name: Build And Deploy Documentation JP +name: Build And Deploy jQuery Documentation JP permissions: contents: read @@ -9,6 +9,11 @@ on: - vnext - master paths-ignore: + - 'docs/angular/**' + - 'docs/xplat/**' + - 'docs/wpf/**' + - 'docs/winforms/**' + - 'docs/aspnet/**' - '**/en/**' - '**/kr/**' workflow_dispatch: @@ -23,6 +28,7 @@ jobs: uses: ./.github/workflows/_cd-deploy.yml with: locale: jp + platform: jquery target_ref: ${{ github.event.inputs.branch && (startsWith(github.event.inputs.branch, 'refs/') && github.event.inputs.branch || format('refs/heads/{0}', github.event.inputs.branch)) || github.ref }} secrets: CLASSIC_PAT_GITHUB: ${{ secrets.CLASSIC_PAT_GITHUB }} diff --git a/.github/workflows/cd-xplat-en.yml b/.github/workflows/cd-xplat-en.yml new file mode 100644 index 0000000000..87467bc604 --- /dev/null +++ b/.github/workflows/cd-xplat-en.yml @@ -0,0 +1,38 @@ +name: Build And Deploy XPlat Documentation EN + +permissions: + contents: read + +on: + push: + branches: + - vnext + - master + paths-ignore: + - 'docs/jquery/**' + - 'docs/angular/**' + - 'docs/wpf/**' + - 'docs/winforms/**' + - 'docs/aspnet/**' + - '**/jp/**' + - '**/kr/**' + workflow_dispatch: + inputs: + branch: + description: 'Branch to checkout' + type: string + default: 'vnext' + +jobs: + deploy: + strategy: + matrix: + platform: ['react', 'wc', 'blazor'] + + uses: ./.github/workflows/_cd-deploy.yml + with: + locale: en + platform: ${{ matrix.platform }} + target_ref: ${{ github.event.inputs.branch && (startsWith(github.event.inputs.branch, 'refs/') && github.event.inputs.branch || format('refs/heads/{0}', github.event.inputs.branch)) || github.ref }} + secrets: + CLASSIC_PAT_GITHUB: ${{ secrets.CLASSIC_PAT_GITHUB }} diff --git a/.github/workflows/cd-xplat-jp.yml b/.github/workflows/cd-xplat-jp.yml new file mode 100644 index 0000000000..ad8343450c --- /dev/null +++ b/.github/workflows/cd-xplat-jp.yml @@ -0,0 +1,38 @@ +name: Build And Deploy XPlat Documentation JP + +permissions: + contents: read + +on: + push: + branches: + - vnext + - master + paths-ignore: + - 'docs/jquery/**' + - 'docs/angular/**' + - 'docs/wpf/**' + - 'docs/winforms/**' + - 'docs/aspnet/**' + - '**/en/**' + - '**/kr/**' + workflow_dispatch: + inputs: + branch: + description: 'Branch to checkout' + type: string + default: 'vnext' + +jobs: + deploy: + strategy: + matrix: + platform: ['react', 'wc', 'blazor'] + + uses: ./.github/workflows/_cd-deploy.yml + with: + locale: jp + platform: ${{ matrix.platform }} + target_ref: ${{ github.event.inputs.branch && (startsWith(github.event.inputs.branch, 'refs/') && github.event.inputs.branch || format('refs/heads/{0}', github.event.inputs.branch)) || github.ref }} + secrets: + CLASSIC_PAT_GITHUB: ${{ secrets.CLASSIC_PAT_GITHUB }} diff --git a/docs/jquery/astro.config.ts b/docs/jquery/astro.config.ts index 26c532a2bc..c2f2b6c332 100644 --- a/docs/jquery/astro.config.ts +++ b/docs/jquery/astro.config.ts @@ -21,8 +21,8 @@ if (docsEnv !== 'development' && docsEnv !== 'staging' && docsEnv !== 'productio const mode: DocsMode = docsEnv; // ── Site URL — varies by build mode ───────────────────────────────────────── -const PROD_HOST = 'https://www.infragistics.com'; -const STAGING_HOST = 'https://staging.infragistics.com'; +const PROD_HOST = 'https://www.igniteui.com'; +const STAGING_HOST = 'https://staging.igniteui.com'; // jp.infragistics.com is the JP domain; the base path is the same as en. const platformKey = docsLang === 'jp' ? 'jQueryJP' : 'jQuery'; diff --git a/src/platform.ts b/src/platform.ts index 29e23290e0..63025e166f 100644 --- a/src/platform.ts +++ b/src/platform.ts @@ -214,13 +214,13 @@ export const IGDOCS_PLATFORMS: Record = { }, jQuery: { lang: 'en', label: 'jQuery', key: 'jquery', devPort: 4335, - base: '/docs-jquery', + base: '/docs-jquery-new', title: 'Ignite UI for jQuery', description: 'Component documentation for Ignite UI for jQuery.', }, jQueryJP: { lang: 'jp', label: 'jQuery', key: 'jquery', devPort: 4345, - base: '/docs-jquery', + base: '/docs-jquery-new', title: 'Ignite UI for jQuery', description: 'Component documentation for Ignite UI for jQuery.', }, From 4d582ed8a467ed5d3b34e2bc952c29f2d5aa2e3a Mon Sep 17 00:00:00 2001 From: Stamen Stoychev Date: Tue, 28 Apr 2026 18:11:10 +0300 Subject: [PATCH 2/2] feat(*): adding unique jQuery ci to allow for paths-ignore Co-authored-by: Copilot --- .github/workflows/ci-jquery.yml | 34 +++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/ci-jquery.yml diff --git a/.github/workflows/ci-jquery.yml b/.github/workflows/ci-jquery.yml new file mode 100644 index 0000000000..9cd1c377fe --- /dev/null +++ b/.github/workflows/ci-jquery.yml @@ -0,0 +1,34 @@ +name: CI jQuery +permissions: + contents: read + +on: + pull_request: + branches: [ master, vnext ] + paths-ignore: + - 'docs/angular/**' + - 'docs/xplat/**' + - 'docs/wpf/**' + - 'docs/winforms/**' + - 'docs/aspnet/**' + +jobs: + build-and-verify: + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v6 + + - name: Use Node.js 24.x + uses: actions/setup-node@v6 + with: + node-version: 24 + cache: 'npm' + + - name: Install dependencies + run: npm ci + + - name: Build jQuery + run: npm run jquery:build