minecraft-datapacks/.gitlab-ci.yml

25 lines
572 B
YAML

# This file is a template, and might need editing before it works on your project.
# see https://docs.gitlab.com/ce/ci/yaml/README.html for all available options
# you can delete this line if you're not using Docker
image: alpine:latest
before_script:
- apk add --no-cache zip
after_script:
- ls
build:
stage: build
script:
- 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
deploy:
stage: deploy
script:
- ls