Move datapacks into folder
This commit is contained in:
parent
72dd744379
commit
9b1dfaa3c4
|
@ -8,11 +8,12 @@ build:
|
|||
stage: build
|
||||
script:
|
||||
- apk add --no-cache zip
|
||||
- cd datapacks
|
||||
- mkdir out
|
||||
- find -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I '{}' sh -c 'cd {} && zip -r ../out/{} .'
|
||||
artifacts:
|
||||
paths:
|
||||
- ./out
|
||||
- ./datapacks/out
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
|
@ -30,7 +31,5 @@ deploy:
|
|||
- rsync -avz out/ "$SERVER_HOST":"$WPD_FOLDER" --delete --exclude bukkit
|
||||
|
||||
- ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload"
|
||||
|
||||
- ssh "$SERVER_HOST" upnpc -n "10.0.0.140" 22 2224 TCP
|
||||
only:
|
||||
- master
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue