Skip to content

Commit

Permalink
Merge pull request #712 from georchestra/issue-711
Browse files Browse the repository at this point in the history
Add artifactory deploiement link to #711
  • Loading branch information
pierrejego committed Jul 3, 2023
2 parents 5bf4d32 + 921cfb1 commit deddfeb
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 deddfeb

Please sign in to comment.