Skip to content

Commit 0aaafb1

Browse files
committed
refactor(cd): reimplementing build process in this pipe
1 parent 5def8ec commit 0aaafb1

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/cd-matrix.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,23 @@ jobs:
2727
- name: app
2828
custom_command: run generate-live-editing
2929
submodule_dir: angular-demos
30-
base_href: /angular-demos/
30+
base_href: angular-demos
3131
target_folder: dist/app
3232
npm_build_command: run build-ci
3333
repositoryfy: true
3434
repositoryfy_command: repositoryfyAngularDemos
3535
- name: app-crm
3636
custom_command: run generate-live-editing:app-crm
3737
submodule_dir: angular-demos-crm
38-
base_href: /angular-demos-grid-crm/
38+
base_href: angular-demos-grid-crm
3939
target_folder: dist/app-crm
4040
npm_build_command: run build-ci:app-crm --loglevel verbose
4141
repositoryfy: false
4242
repositoryfy_command: ''
4343
- name: app-lob
4444
custom_command: run generate-live-editing:app-lob
4545
submodule_dir: angular-demos-lob
46-
base_href: /angular-demos-lob/
46+
base_href: angular-demos-lob
4747
target_folder: dist/app-lob
4848
npm_build_command: run build-ci:app-lob
4949
repositoryfy: true
@@ -154,6 +154,7 @@ jobs:
154154
with:
155155
name: ${{ matrix.submodule_dir }}-artifact
156156
path: ${{ matrix.submodule_dir }}-artifact.zip
157+
retention-days: 1
157158

158159
- name: Repositorify (vNext)
159160
if: env.BRANCH_REF == 'refs/heads/vnext' && matrix.repositoryfy == true
@@ -199,16 +200,18 @@ jobs:
199200
- name: Trigger Deploy Workflow in IgniteUI Actions
200201
uses: actions/github-script@v8
201202
with:
202-
github-token: ${{ secrets.CLASSIC_PATKA }}
203+
github-token: ${{ secrets.CLASSIC_PAT_GITHUB }}
203204
script: |
204205
await github.rest.repos.createDispatchEvent({
205206
owner: 'IgniteUI',
206207
repo: 'igniteui-actions',
207208
event_type: 'igniteui-angular-samples-cd',
208209
client_payload: {
210+
calling_branch: "${{ env.BRANCH_REF }}",
209211
repository: "${{ github.repository }}",
210212
run_id: "${{ github.run_id }}",
211213
artifact_name: "${{ matrix.submodule_dir }}-artifact",
214+
base_href: "${{ matrix.base_href }}",
212215
ref: "${{ github.ref }}",
213216
sha: "${{ github.sha }}",
214217
branch: '${{ github.ref_name }}',

0 commit comments

Comments
 (0)