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({
1962
1962
this .loadBranches ();
1963
1963
this .buildpack = this .pipelineData .buildpack ;
1964
1964
this .buildstrategy = this .pipelineData .buildstrategy ;
1965
- this .deploymentstrategy = this .pipelineData .deploymentstrategy ;
1965
+ // this.deploymentstrategy = this.pipelineData.deploymentstrategy;
1966
1966
1967
1967
if (this .app == ' new' ) {
1968
1968
1969
+ if (this .pipelineData .git .repository .clone_url == ' ' ) {
1970
+ this .deploymentstrategy = ' docker' ;
1971
+ } else {
1972
+ this .deploymentstrategy = ' git' ;
1973
+ }
1974
+
1969
1975
// extract domain from pipeline phase
1970
1976
for (let i = 0 ; i < this .pipelineData .phases .length ; i ++ ) {
1971
1977
if (this .pipelineData .phases [i ].name == this .phase ) {
You can’t perform that action at this time.
0 commit comments