This commit is contained in:
		
							
								
								
									
										18
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										18
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -6,25 +6,12 @@ steps:
 | 
			
		||||
  image: alpine/git
 | 
			
		||||
  commands:
 | 
			
		||||
  - git submodule update --recursive --init
 | 
			
		||||
 | 
			
		||||
- name: build
 | 
			
		||||
  image: klakegg/hugo:ext-alpine
 | 
			
		||||
  commands:
 | 
			
		||||
  - 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
 | 
			
		||||
  image: appleboy/drone-scp
 | 
			
		||||
  settings:
 | 
			
		||||
@@ -36,6 +23,7 @@ steps:
 | 
			
		||||
      from_secret: SSH_USERNAME
 | 
			
		||||
    password:
 | 
			
		||||
      from_secret: SSH_PASSWORD
 | 
			
		||||
 | 
			
		||||
- name: deploy
 | 
			
		||||
  image: appleboy/drone-scp
 | 
			
		||||
  settings:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user