Skip to content

Commit

Permalink
OZ-196: Build and publish with GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuisson committed Dec 15, 2023
1 parent ea5f6b7 commit 2b421fa
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Build and Publish

on:
push:
jobs:
build-and-publish:
uses: mekomsolutions/mekom-github-workflow-maven/.github/workflows/build-publish-workflow.yml@main
with:
webhook-url: https://openmrs-cd.mekomsolutions.net/generic-webhook-trigger/invoke
secrets:
NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME }}
NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD }}
OCD3_USERNAME: ${{ secrets.OCD3_USERNAME }}
OCD3_PASSWORD: ${{ secrets.OCD3_PASSWORD }}
14 changes: 14 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -137,4 +137,18 @@

</plugins>
</build>

<distributionManagement>
<repository>
<name>Mekom Solutions Nexus repo for releases</name>
<id>mks-nexus-public-releases</id>
<url>https://nexus.mekomsolutions.net/repository/maven-releases</url>
</repository>
<snapshotRepository>
<name>Mekom Solutions Nexus repo for snapshots</name>
<id>mks-nexus-public-snapshots</id>
<url>https://nexus.mekomsolutions.net/repository/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>

</project>

0 comments on commit 2b421fa

Please sign in to comment.