upd ci
This commit is contained in:
		
							parent
							
								
									970ab7ba2e
								
							
						
					
					
						commit
						13c0078d69
					
				| 
						 | 
				
			
			@ -8,9 +8,20 @@ variables:
 | 
			
		|||
  DEST_DIRECTORY: latest/hugo
 | 
			
		||||
 | 
			
		||||
stages:
 | 
			
		||||
  - test
 | 
			
		||||
  - build
 | 
			
		||||
  - push
 | 
			
		||||
 | 
			
		||||
before_script:
 | 
			
		||||
  - apk add --no-cache go curl bash nodejs
 | 
			
		||||
  - hugo mod get -u
 | 
			
		||||
 | 
			
		||||
test:
 | 
			
		||||
  script:
 | 
			
		||||
    - hugo
 | 
			
		||||
  rules:
 | 
			
		||||
    - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
 | 
			
		||||
 | 
			
		||||
build:
 | 
			
		||||
  before_script:
 | 
			
		||||
    - hugo version
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue