fvtt-yggdrasill/.gitlab-ci.yml

30 lines
517 B
YAML
Raw Permalink Normal View History

2022-01-09 09:46:40 +01:00
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 'template.json' > /dev/null
build:
stage: build
script:
2022-01-09 09:54:41 +01:00
- zip fvtt-yggdrasill.zip -r *.js *.json *.md fonts images packs module styles templates -x ".*"
2022-01-09 09:46:40 +01:00
artifacts:
name: fvtt-yggdrasill
when: on_success
paths:
- fvtt-yggdrasill.zip
when: on_success
only:
- tags
- master