From 921cfb1bd8f0bc31934d9ea4eeb217db2ee35825 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20J=C3=A9go?= Date: Mon, 3 Jul 2023 16:32:23 +0200 Subject: [PATCH] Add artifactory deploiement link to #701 --- .github/workflows/cadastrapp.yml | 7 +++++++ pom.xml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/cadastrapp.yml b/.github/workflows/cadastrapp.yml index dc68879e..8392ef2a 100644 --- a/.github/workflows/cadastrapp.yml +++ b/.github/workflows/cadastrapp.yml @@ -88,6 +88,13 @@ jobs: run: | docker push georchestra/cadastrapp:${{ steps.version.outputs.VERSION }} + - name: "Publish binary in artifactory" + run: ./mvn deploy + continue-on-error: true + env: + ARTIFACTORY_TOKEN_REF: ${{ secrets.ARTIFACTORY_TOKEN }} + ARTIFACTORY_USERNAME_REF: ${{ secrets.ARTIFACTORY_USERNAME }} + - name: Remove SNAPSHOT jars from repository run: | find .m2/repository -name "*SNAPSHOT*" -type d | xargs rm -rf {} diff --git a/pom.xml b/pom.xml index 67f6e8c6..cd5ce63a 100644 --- a/pom.xml +++ b/pom.xml @@ -21,6 +21,13 @@ cadastrapp-release yyyyMMddHHmm + + + geOrchestra-artifactory + geOrchestra Maven repository + https://artifactory.georchestra.org/artifactory/georchestra/ + + GitHub Issues https://github.com/georchestra/cadastrapp/issues