Skip to content

Commit 7cf2a73

Browse files
Update pipeline javascript-client
1 parent a051510 commit 7cf2a73

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.harness/ci-cd.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,22 @@ pipeline:
9595
spec:
9696
shell: Sh
9797
command: npm run build
98+
- parallel:
99+
- step:
100+
type: Run
101+
name: upload dev assets to CDN
102+
identifier: upload_dev_assets_to_CDN
103+
spec:
104+
shell: Sh
105+
when:
106+
stageStatus: Success
107+
condition: <+trigger.event> == "push" && <+trigger.branch> == "refs/heads/development"
108+
- step:
109+
type: Run
110+
name: upload prod assets to CDN
111+
identifier: upload_prod_assets_to_CDN
112+
spec:
113+
shell: Sh
114+
when:
115+
stageStatus: Success
116+
condition: <+trigger.event> == "push" && <+trigger.branch> == "refs/heads/main"

0 commit comments

Comments
 (0)