-
Notifications
You must be signed in to change notification settings - Fork 0
feat(*): adding jQuery deploy #101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: vkombov/migrate-jquery-docs
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -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' | ||||||||||||||||
|
|
||||||||||||||||
|
Comment on lines
+42
to
46
|
||||||||||||||||
| - 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 }} | ||||||||||||||||
|
||||||||||||||||
| run: npm run build:${{ env.BUILD_TYPE }}:${{ inputs.platform }}:${{ inputs.locale }} | |
| run: | | |
| if [ "${{ inputs.platform }}" = "jquery" ]; then | |
| npm run jquery:build-${{ env.BUILD_TYPE }}:${{ inputs.locale }} | |
| else | |
| npm run build:${{ env.BUILD_TYPE }}:${{ inputs.platform }}:${{ inputs.locale }} | |
| fi |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 }} |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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 |
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -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. | ||||||||
|
||||||||
| // jp.infragistics.com is the JP domain; the base path is the same as en. | |
| // JP builds use the 'jQueryJP' platform entry to resolve the correct base path; | |
| // production/staging hosts are shared igniteui.com domains for all languages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actions/checkout@v6/actions/setup-node@v6are inconsistent with the rest of the repo (CI uses@v4for both in.github/workflows/ci.yml:20-25). If this isn’t an intentional upgrade across all workflows, consider keeping these aligned to reduce maintenance and unexpected behavior differences between CI and CD.