Scripts/.gitlab-ci.yml

20 lines
448 B
YAML
Raw Normal View History

2022-10-06 19:30:52 +02:00
variables:
GRADLE_OPTS: "-Dorg.gradle.daemon=false -Dorg.gradle.jvmargs=-Xmx2G"
before_script:
- export GRADLE_USER_HOME=`pwd`/.gradle
2021-11-28 17:36:12 +01:00
pages:
2022-10-06 19:30:52 +02:00
image: gradle:alpine
2021-11-28 17:36:12 +01:00
stage: deploy
script:
2022-10-06 19:30:52 +02:00
- gradle publish -Pmaven="$CI_API_V4_URL/projects/$CI_PROJECT_ID/packages/maven"
2021-11-28 17:36:12 +01:00
- mkdir public
2022-10-06 19:30:52 +02:00
- cp ci/* public
- cp -r legacy/* public
2021-11-28 17:36:12 +01:00
artifacts:
paths:
- public
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH