Acyclic Graphs
This commit is contained in:
		
							parent
							
								
									c67936c9ba
								
							
						
					
					
						commit
						fde4132c56
					
				@ -62,6 +62,8 @@ deploy:datapacks:
 | 
			
		||||
    - rsync --dry-run -avz out/ "$SERVER_HOST":"$WPD_FOLDER/world/datapacks" --delete --exclude bukkit
 | 
			
		||||
 | 
			
		||||
    - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload"
 | 
			
		||||
  needs:
 | 
			
		||||
    - build:datapacks
 | 
			
		||||
    
 | 
			
		||||
  only:
 | 
			
		||||
    refs:
 | 
			
		||||
@ -87,7 +89,8 @@ deploy:resourcepack:
 | 
			
		||||
    - cd resourcepack-out
 | 
			
		||||
    - SHASUM=$(sha1sum resourcepack.zip | awk '{ print $1 }')
 | 
			
		||||
    - ssh "$SERVER_HOST" sed -i "s/resource-pack-sha1=.*/resource-pack-sha1=$SHASUM/" "$WPD_FOLDER/server.properties"
 | 
			
		||||
    
 | 
			
		||||
  needs:
 | 
			
		||||
    - build:resourcepack
 | 
			
		||||
  only:
 | 
			
		||||
    refs:
 | 
			
		||||
      - master
 | 
			
		||||
@ -111,6 +114,8 @@ pages:
 | 
			
		||||
      - resourcepack/**/*
 | 
			
		||||
      - resourcepack/*
 | 
			
		||||
      - .gitlab-ci.yml
 | 
			
		||||
  needs:
 | 
			
		||||
    - build:datapacks
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -136,4 +141,7 @@ restart:
 | 
			
		||||
    changes:
 | 
			
		||||
      - resourcepack/**/*
 | 
			
		||||
      - resourcepack/*
 | 
			
		||||
      - .gitlab-ci.yml
 | 
			
		||||
      - .gitlab-ci.yml
 | 
			
		||||
  needs:
 | 
			
		||||
    - deploy:resourcepack
 | 
			
		||||
    - deploy:datapacks
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user