SyncMerge branch 'master' of gitlab.com:LeRatierBretonnien/foundryvtt-reve-de-dragon
This commit is contained in:
commit
1a66fd33e4
29
.gitlab-ci.yml
Normal file
29
.gitlab-ci.yml
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
image: python:3-alpine
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- apk update
|
||||||
|
- apk add zip
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- test
|
||||||
|
- build
|
||||||
|
|
||||||
|
test:
|
||||||
|
stage: test
|
||||||
|
script:
|
||||||
|
- python -mjson.tool 'system.json' > /dev/null
|
||||||
|
- python -mjson.tool 'module.json' > /dev/null
|
||||||
|
|
||||||
|
build:
|
||||||
|
stage: build
|
||||||
|
script:
|
||||||
|
- zip foundryvtt-reve-de-dragon.zip -r *.js *.json *.md module styles templates -x ".*"
|
||||||
|
artifacts:
|
||||||
|
name: foundryvtt-reve-de-dragon
|
||||||
|
when: on_success
|
||||||
|
paths:
|
||||||
|
- foundryvtt-reve-de-dragon.zip
|
||||||
|
when: on_success
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
- master
|
Loading…
Reference in New Issue
Block a user