Add .gitlab-ci.yml

merge-requests/1/head
Leratier Bretonnien 2 years ago
parent a3123ae3da
commit d709618018
  1. 28
      .gitlab-ci.yml

@ -0,0 +1,28 @@
image: python:3-alpine
before_script:
- apk update
- apk add zip
stages:
- test
- build
test:
stage: test
script:
- python -mjson.tool 'module.json' > /dev/null
build:
stage: build
script:
- zip foundryvtt-rdd-fontaine-ortigrise.zip -r *.js *.json *.md packs scenes -x ".*"
artifacts:
name: foundryvtt-rdd-fontaine-ortigrise
when: on_success
paths:
- foundryvtt-rdd-fontaine-ortigrise.zip
when: on_success
only:
- tags
- master
Loading…
Cancel
Save