ci: Initiate .gitlab-ci.yml file

This commit is contained in:
yannk 2023-03-08 14:02:09 +01:00
parent 5a6351aff6
commit de36a45c80

19
.gitlab-ci.yml Normal file
View file

@ -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'