Fix job dependencies
This commit is contained in:
		
							parent
							
								
									b1fc61e835
								
							
						
					
					
						commit
						0e8cf3468f
					
				| 
						 | 
				
			
			@ -16,8 +16,8 @@ build:
 | 
			
		|||
    - hugo version
 | 
			
		||||
  stage: build
 | 
			
		||||
  script:
 | 
			
		||||
    - cp custom.html themes/blowfish/layouts/partials/home/custom.html
 | 
			
		||||
    - hugo --baseURL="https://es.hackmeeting.org/${DEST_DIRECTORY}"
 | 
			
		||||
    - 'cp custom.html themes/blowfish/layouts/partials/home/custom.html'
 | 
			
		||||
    - 'hugo --baseURL="https://es.hackmeeting.org/${DEST_DIRECTORY}"'
 | 
			
		||||
  artifacts:
 | 
			
		||||
    paths:
 | 
			
		||||
      - public
 | 
			
		||||
| 
						 | 
				
			
			@ -29,6 +29,7 @@ push:
 | 
			
		|||
    entrypoint: [""]
 | 
			
		||||
  script:
 | 
			
		||||
    - "rclone sync -v --retries 10 --exclude='hm/**' --webdav-url ${WEBDAV_URL} --webdav-user ${WEBDAV_USERNAME} --webdav-pass $(echo -n \"${WEBDAV_PASSWORD}\" | rclone obscure -) ./public :webdav:${WEBDAV_REMOTE_PATH}/${DEST_DIRECTORY}"
 | 
			
		||||
 | 
			
		||||
  dependencies:
 | 
			
		||||
    - build
 | 
			
		||||
  only:
 | 
			
		||||
   - no-masters
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue