Acyclic Graphs

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-08-26 09:13:57 +00:00
parent c67936c9ba
commit fde4132c56
1 changed files with 10 additions and 2 deletions

View File

@ -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
@ -137,3 +142,6 @@ restart:
- resourcepack/**/*
- resourcepack/*
- .gitlab-ci.yml
needs:
- deploy:resourcepack
- deploy:datapacks