-
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: vnext
Are you sure you want to change the base?
Changes from all commits
f91d8c1
361c724
6d9e579
8166feb
d7e876f
0b1a8cf
64ca5e4
8bfdd97
49cae12
5d57d9c
f63fa17
7d6f08c
607385c
3f5e73c
439fc86
2195c44
427939c
bc17e8b
d743338
bf798e2
a069281
8d67585
530651b
f309d87
dd05a78
b6b2d36
bddcb8f
a7be9e3
ea64a11
914951c
de534e0
82eee09
138f7a0
ecde790
2c3d707
97e79b7
acd545f
78be6c3
077b83c
bd0cf21
a2bef5d
3e32ed3
3cd096a
9e3619c
d25fd0f
41a2df2
7ea0e2a
c264ca1
58e28ba
f2e535e
7306787
1af5c7c
09ebe81
a97f6fa
60d8503
c7a9702
c509bac
733a4bc
ed83882
4f90ac1
4974a31
2278222
fc7d045
4c69a7f
6e238a7
7c584e8
8d8355f
8a50e65
73fd819
95dc9ac
4edd0ad
02b4994
7b34e61
11e8f73
c326294
f55cbc4
26d4fec
465bf05
9d875ac
3cf62f3
391afcd
4ae73f5
cfb4933
d0d95bf
9b5b58b
d09b398
574aa1d
2e53932
384e392
4570e23
4b6ad70
08e7a3e
5ff40e1
ae7468c
c6afc6a
b0f1fcf
3fb54ce
5b5431f
19ae6ec
4199dc6
618ef17
0865c98
3881c2b
bba1003
0d6ea66
f2da247
e71366d
c3cd6b2
17a25b1
b544df7
6c1255d
8de6c06
0e7e0f3
2ebcae6
4c68199
cbb2a44
3840d38
df42aba
6fd0331
6bb8fb1
dbdf76d
a0950d3
f16e719
430e70d
37ad190
344438e
1e2c5e4
f5f5d11
742124f
85ca3a2
2f6ec2c
539d659
e41dcb7
58962b4
a4e2759
3197175
e7ba0c2
26a1a26
ce684e7
2d035b6
6aa5a47
33b68e4
7a058cf
a07cc79
318044c
bc9d3d6
6d43e76
491ad14
bc85822
853a61c
8a22ece
ab078ca
108a469
9d40123
7ab94e8
0f1be93
3c2cdd8
3a9fac6
3b34631
35321f3
2f24f4e
a8db622
49c9214
f2bfba9
ee36c40
a3f695a
d113fba
b688a75
429d2c9
2dd7aac
c703489
d6cd1b1
f313c50
33ca10a
2a580dc
8ef9929
b54099d
4d1b620
397a44f
b93e4e6
46e1282
7010250
4f143a8
4d79998
41bcf32
469ce80
9b9db5d
4c6e53d
f023116
e50a977
27b9f31
4dbc475
c192697
65268ef
a400263
f2ee1c2
556f04c
8db0b0d
13f14b4
e790dc4
3126060
fe603d5
fd7b70f
f2ac8fc
7f62b23
41bc674
d1199e3
70fbf58
859f7e9
050b301
f0785e8
b3af3bd
ff0e680
cbf9b50
933bcd6
65bde59
3bb2ec6
060a127
3857709
b28f429
8f74eb9
bfa161b
ce7042b
17bbc70
adcb7cc
27785cf
4952bb5
7f08cd0
a738d45
07def84
700fc84
2a9a2d5
cbffd6c
4b657c3
6c16f95
c1cda7f
9c235d6
78833ca
9b7259b
d9732d2
2c7e7bc
ab28f4a
49c9795
64a36d0
7416ddb
b8bb1b0
7f8c0e4
db9d185
e193054
4d582ed
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 }} | ||
|
|
||
| - 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' }} | ||
| } | ||
| }); | ||
| 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 }} |
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.