diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml new file mode 100644 index 0000000..5816e37 --- /dev/null +++ b/.github/workflows/build-publish.yml @@ -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 }} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 6c4b5c8..81b80c3 100644 --- a/pom.xml +++ b/pom.xml @@ -137,4 +137,18 @@ + + + + Mekom Solutions Nexus repo for releases + mks-nexus-public-releases + https://nexus.mekomsolutions.net/repository/maven-releases + + + Mekom Solutions Nexus repo for snapshots + mks-nexus-public-snapshots + https://nexus.mekomsolutions.net/repository/maven-snapshots + + + \ No newline at end of file