This commit is contained in:
		
							
								
								
									
										21
									
								
								.drone.yml
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								.drone.yml
									
									
									
									
									
								
							@@ -1,11 +1,9 @@
 | 
			
		||||
---
 | 
			
		||||
kind: pipeline
 | 
			
		||||
type: docker
 | 
			
		||||
name: default
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: Validate configuration and check changes
 | 
			
		||||
  image: stackexchange/dnscontrol
 | 
			
		||||
  environment:
 | 
			
		||||
environment:
 | 
			
		||||
  HE_USERNAME:
 | 
			
		||||
    from_secret: HE_USERNAME
 | 
			
		||||
  HE_PASSWORD:
 | 
			
		||||
@@ -16,21 +14,14 @@ steps:
 | 
			
		||||
    from_secret: CF_APITOKEN
 | 
			
		||||
  CF_ACCOUNTID:
 | 
			
		||||
    from_secret: CF_ACCOUNTID
 | 
			
		||||
 | 
			
		||||
steps:
 | 
			
		||||
- name: Validate configuration and check changes
 | 
			
		||||
  image: stackexchange/dnscontrol
 | 
			
		||||
  commands:
 | 
			
		||||
    - dnscontrol preview
 | 
			
		||||
 | 
			
		||||
- name: Push new configuration to providers
 | 
			
		||||
  image: stackexchange/dnscontrol
 | 
			
		||||
  environment:
 | 
			
		||||
    HE_USERNAME:
 | 
			
		||||
      from_secret: HE_USERNAME
 | 
			
		||||
    HE_PASSWORD:
 | 
			
		||||
      from_secret: HE_PASSWORD
 | 
			
		||||
    HE_TOTPKEY:
 | 
			
		||||
      from_secret: HE_TOTPKEY
 | 
			
		||||
    CF_APITOKEN:
 | 
			
		||||
      from_secret: CF_APITOKEN
 | 
			
		||||
    CF_ACCOUNTID:
 | 
			
		||||
      from_secret: CF_ACCOUNTID
 | 
			
		||||
  commands:
 | 
			
		||||
    - dnscontrol push
 | 
			
		||||
		Reference in New Issue
	
	Block a user