Skip to content

Commit

Permalink
ci(workflow): updated release deploy workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
RealRONiN committed Apr 24, 2023
1 parent 58f3f22 commit 58a1166
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: Publish LabAide to Maven repository
run-name: Deploy to Maven repo by @${{ github.actor }}
on: [workflow_dispatch, release]
on: [ workflow_dispatch ]
jobs:
publish:
name: Publish
name: Publish [mvn-releases]
runs-on: ubuntu-latest
steps:
- name: Set up actions checkout
- name: Set up actions checkout
uses: actions/checkout@v2
- name: Set up JDK 18
uses: actions/setup-java@v1
Expand All @@ -15,6 +15,6 @@ jobs:
- name: Set up maven credentials
uses: s4u/[email protected]
with:
servers: '[{"id": "arcadelabs-mvn-releases", "username": "${{ secrets.REPO_NAME }}", "password": "${{ secrets.REPO_TOKEN }}"}]'
servers: '[{"id": "arcadelabs-repository-releases", "username": "${{ secrets.REPO_NAME }}", "password": "${{ secrets.REPO_TOKEN }}"}]'
- name: Publish with Maven
run: mvn deploy

0 comments on commit 58a1166

Please sign in to comment.