This commit is contained in:
		
							parent
							
								
									be889bb87e
								
							
						
					
					
						commit
						1fbe914431
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -13,7 +13,7 @@ environment:
 | 
				
			||||||
steps:
 | 
					steps:
 | 
				
			||||||
- name: configure-environment
 | 
					- name: configure-environment
 | 
				
			||||||
  pull: always
 | 
					  pull: always
 | 
				
			||||||
  image: ubuntu:latest
 | 
					  image: bitnami/git:2.39.2
 | 
				
			||||||
  environment:
 | 
					  environment:
 | 
				
			||||||
  SSH_PRIVATE_KEY:
 | 
					  SSH_PRIVATE_KEY:
 | 
				
			||||||
    from_secret: dokku_ssh_key
 | 
					    from_secret: dokku_ssh_key
 | 
				
			||||||
| 
						 | 
					@ -32,11 +32,11 @@ steps:
 | 
				
			||||||
  - chmod 600 ~/.ssh/id_rsa
 | 
					  - chmod 600 ~/.ssh/id_rsa
 | 
				
			||||||
  - apt-get update && apt-get install git -y
 | 
					  - apt-get update && apt-get install git -y
 | 
				
			||||||
- name: add-remote
 | 
					- name: add-remote
 | 
				
			||||||
  image: ubuntu:latest
 | 
					  image: bitnami/git:2.39.2
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - git remote add dokku dokku:$DOKKU_APP_NAME
 | 
					  - git remote add dokku dokku:$DOKKU_APP_NAME
 | 
				
			||||||
- name: push-to-dokku
 | 
					- name: push-to-dokku
 | 
				
			||||||
  image: ubuntu:latest
 | 
					  image: bitnami/git:2.39.2
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - git push dokku $BRANCH
 | 
					  - git push dokku $BRANCH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue