This commit is contained in:
		
							
								
								
									
										18
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -6,25 +6,12 @@ steps:
 | 
				
			|||||||
  image: alpine/git
 | 
					  image: alpine/git
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - git submodule update --recursive --init
 | 
					  - git submodule update --recursive --init
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: build
 | 
					- name: build
 | 
				
			||||||
  image: klakegg/hugo:ext-alpine
 | 
					  image: klakegg/hugo:ext-alpine
 | 
				
			||||||
  commands:
 | 
					  commands:
 | 
				
			||||||
  - hugo-official
 | 
					  - hugo-official
 | 
				
			||||||
- name: deploy
 | 
					
 | 
				
			||||||
  image: appleboy/drone-scp
 | 
					 | 
				
			||||||
  settings:
 | 
					 | 
				
			||||||
    host: jcktrue.dk
 | 
					 | 
				
			||||||
    target: /srv/raid/apps/http/jcktrue.dk/
 | 
					 | 
				
			||||||
    source: public/*
 | 
					 | 
				
			||||||
    strip_components: 1
 | 
					 | 
				
			||||||
    username:
 | 
					 | 
				
			||||||
      from_secret: SSH_USERNAME
 | 
					 | 
				
			||||||
    password:
 | 
					 | 
				
			||||||
      from_secret: SSH_PASSWORD
 | 
					 | 
				
			||||||
      trigger:
 | 
					 | 
				
			||||||
  when:
 | 
					 | 
				
			||||||
    branch:
 | 
					 | 
				
			||||||
    - master
 | 
					 | 
				
			||||||
- name: deploy_beta
 | 
					- name: deploy_beta
 | 
				
			||||||
  image: appleboy/drone-scp
 | 
					  image: appleboy/drone-scp
 | 
				
			||||||
  settings:
 | 
					  settings:
 | 
				
			||||||
@@ -36,6 +23,7 @@ steps:
 | 
				
			|||||||
      from_secret: SSH_USERNAME
 | 
					      from_secret: SSH_USERNAME
 | 
				
			||||||
    password:
 | 
					    password:
 | 
				
			||||||
      from_secret: SSH_PASSWORD
 | 
					      from_secret: SSH_PASSWORD
 | 
				
			||||||
 | 
					
 | 
				
			||||||
- name: deploy
 | 
					- name: deploy
 | 
				
			||||||
  image: appleboy/drone-scp
 | 
					  image: appleboy/drone-scp
 | 
				
			||||||
  settings:
 | 
					  settings:
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user