Commit 98a7ad1b authored by malzer's avatar malzer
Browse files

Build master/dev PLATIN

parent 6a910d80
......@@ -8,11 +8,10 @@ stages:
- packaging
- deploy
build_platin:
build_dev_platin:
only:
- tags
- develop
- master
image: ruby:3.0
stage: build_platin
script:
......@@ -24,6 +23,20 @@ build_platin:
paths:
- PLATIN
build_live_platin:
only:
- master
image: ruby:3.0
stage: build_platin
script:
- git clone -b master --single-branch https://github.com/DARIAH-DE/PLATIN.git
- apt-get update && apt-get -y install default-jre
- cd PLATIN
- rake all
artifacts:
paths:
- PLATIN
build_docs:
only:
- tags
......@@ -77,6 +90,10 @@ build_live:
- VERSION=$(node -p "require('./package.json').version")
- echo "VERSION=${VERSION}" >> build.env
- npm run build:release
- cd dist
- ln -s PLATIN/php php
- ln -s PLATIN/data data
- cd embed && ln -s ../php php
artifacts:
paths:
- dist/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment