File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
client/src/components/apps Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -1962,10 +1962,16 @@ export default defineComponent({
19621962 this .loadBranches ();
19631963 this .buildpack = this .pipelineData .buildpack ;
19641964 this .buildstrategy = this .pipelineData .buildstrategy ;
1965- this .deploymentstrategy = this .pipelineData .deploymentstrategy ;
1965+ // this.deploymentstrategy = this.pipelineData.deploymentstrategy;
19661966
19671967 if (this .app == ' new' ) {
19681968
1969+ if (this .pipelineData .git .repository .clone_url == ' ' ) {
1970+ this .deploymentstrategy = ' docker' ;
1971+ } else {
1972+ this .deploymentstrategy = ' git' ;
1973+ }
1974+
19691975 // extract domain from pipeline phase
19701976 for (let i = 0 ; i < this .pipelineData .phases .length ; i ++ ) {
19711977 if (this .pipelineData .phases [i ].name == this .phase ) {
You can’t perform that action at this time.
0 commit comments