This commit is contained in:
		
							parent
							
								
									65fef614cd
								
							
						
					
					
						commit
						ccf613b760
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -52,7 +52,6 @@ steps:
 | 
				
			||||||
  - ssh dokku "echo 'Host key added'"
 | 
					  - ssh dokku "echo 'Host key added'"
 | 
				
			||||||
- name: create-app
 | 
					- name: create-app
 | 
				
			||||||
  image: bitnami/git:2.39.2
 | 
					  image: bitnami/git:2.39.2
 | 
				
			||||||
  failure: ignore
 | 
					 | 
				
			||||||
  volumes:
 | 
					  volumes:
 | 
				
			||||||
  - name: ssh
 | 
					  - name: ssh
 | 
				
			||||||
    path: /root/.ssh
 | 
					    path: /root/.ssh
 | 
				
			||||||
| 
						 | 
					@ -60,6 +59,7 @@ steps:
 | 
				
			||||||
  - set +e
 | 
					  - set +e
 | 
				
			||||||
  - ssh dokku dokku apps:exists $DOKKU_APP_NAME
 | 
					  - ssh dokku dokku apps:exists $DOKKU_APP_NAME
 | 
				
			||||||
  - if [ $? -eq 0 ]; then ssh dokku dokku apps:create $DOKKU_APP_NAME; else echo "App already exists"; fi
 | 
					  - if [ $? -eq 0 ]; then ssh dokku dokku apps:create $DOKKU_APP_NAME; else echo "App already exists"; fi
 | 
				
			||||||
 | 
					  - ssh dokku dokku config:set $DOKKU_APP_NAME NGINX_ROOT=dist
 | 
				
			||||||
- name: push-to-dokku
 | 
					- name: push-to-dokku
 | 
				
			||||||
  image: bitnami/git:2.39.2
 | 
					  image: bitnami/git:2.39.2
 | 
				
			||||||
  volumes:
 | 
					  volumes:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue