Move datapacks into folder

This commit is contained in:
Daniel Løvbrøtte Olsen 2019-07-31 00:27:22 +00:00
parent 72dd744379
commit 9b1dfaa3c4
107 changed files with 2 additions and 3 deletions

View File

@ -8,11 +8,12 @@ build:
stage: build stage: build
script: script:
- apk add --no-cache zip - apk add --no-cache zip
- cd datapacks
- mkdir out - mkdir out
- find -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I '{}' sh -c 'cd {} && zip -r ../out/{} .' - find -maxdepth 1 -type d -not -name ".git" -not -name "out" -not -name "." | xargs -I '{}' sh -c 'cd {} && zip -r ../out/{} .'
artifacts: artifacts:
paths: paths:
- ./out - ./datapacks/out
deploy: deploy:
stage: deploy stage: deploy
@ -30,7 +31,5 @@ deploy:
- rsync -avz out/ "$SERVER_HOST":"$WPD_FOLDER" --delete --exclude bukkit - rsync -avz out/ "$SERVER_HOST":"$WPD_FOLDER" --delete --exclude bukkit
- ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload" - ssh "$SERVER_HOST" mcrcon -H localhost -p minecraft "minecraft:reload"
- ssh "$SERVER_HOST" upnpc -n "10.0.0.140" 22 2224 TCP
only: only:
- master - master

Some files were not shown because too many files have changed in this diff Show More