diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..6169d32 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,19 @@ +# This CI is for zipping the plugin when ready for distribution + +image: alpine + +stages: + - build + - deploy + +before_script: + - apk add --update zip + +build-job: + stage: build + script: + - echo "Zipping the plugin..." + - for d in */ ; do cd $d; zip -r ../${d%/}.zip *; cd .. + artifacts: + paths: + - '*.zip'