Skip to content

Commit

Permalink
Add artifactory deploiement link to #701
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrejego committed Jul 3, 2023
1 parent 5bf4d32 commit 921cfb1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/cadastrapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@
<project.scm.id>cadastrapp-release</project.scm.id>
<maven.build.timestamp.format>yyyyMMddHHmm</maven.build.timestamp.format>
</properties>
<distributionManagement>
<repository>
<id>geOrchestra-artifactory</id>
<name>geOrchestra Maven repository</name>
<url>https://artifactory.georchestra.org/artifactory/georchestra/</url>
</repository>
</distributionManagement>
<issueManagement>
<system>GitHub Issues</system>
<url>https://github.com/georchestra/cadastrapp/issues</url>
Expand Down

0 comments on commit 921cfb1

Please sign in to comment.