We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a051510 commit 7cf2a73Copy full SHA for 7cf2a73
.harness/ci-cd.yaml
@@ -95,3 +95,22 @@ pipeline:
95
spec:
96
shell: Sh
97
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
109
110
+ name: upload prod assets to CDN
111
+ identifier: upload_prod_assets_to_CDN
112
113
114
115
116
+ condition: <+trigger.event> == "push" && <+trigger.branch> == "refs/heads/main"
0 commit comments