File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -70,11 +70,10 @@ step-6_publish-developer-extension:
7070 - node ./scripts/deploy/publish-developer-extension.ts
7171
7272step-7_create-github-release :
73- needs :
74- - step-6_publish-developer-extension
7573 stage : deploy
7674 extends :
7775 - .base-configuration
76+ when : manual
7877 allow_failure : false
7978 script :
8079 - yarn
Original file line number Diff line number Diff line change @@ -12,14 +12,17 @@ const GATE_INTERVAL = ONE_MINUTE_IN_SECOND
1212
1313const version : string = process . argv [ 2 ]
1414const uploadPath : string = process . argv [ 3 ]
15- const withGateMonitors : boolean = process . argv [ 4 ] === 'true'
15+ const withMonitorChecks : boolean = process . argv [ 4 ] === 'true'
1616
1717runMain ( async ( ) => {
18- command `node ./scripts/deploy/check-monitors.ts ${ uploadPath } ` . withLogs ( ) . run ( )
18+ if ( withMonitorChecks ) {
19+ command `node ./scripts/deploy/check-monitors.ts ${ uploadPath } ` . withLogs ( ) . run ( )
20+ }
21+
1922 command `node ./scripts/deploy/deploy.ts prod ${ version } ${ uploadPath } ` . withLogs ( ) . run ( )
2023 command `node ./scripts/deploy/upload-source-maps.ts ${ version } ${ uploadPath } ` . withLogs ( ) . run ( )
2124
22- if ( withGateMonitors && uploadPath !== 'root' ) {
25+ if ( withMonitorChecks && uploadPath !== 'root' ) {
2326 await gateMonitors ( uploadPath )
2427 }
2528} )
You can’t perform that action at this time.
0 commit comments