ci: Initiate .gitlab-ci.yml file
This commit is contained in:
parent
5a6351aff6
commit
de36a45c80
1 changed files with 19 additions and 0 deletions
19
.gitlab-ci.yml
Normal file
19
.gitlab-ci.yml
Normal 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'
|
Loading…
Reference in a new issue