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