From 58a11665587af60487d018e83f3e287fb4e67b78 Mon Sep 17 00:00:00 2001 From: Aniket Joshi Date: Mon, 24 Apr 2023 21:02:15 +0530 Subject: [PATCH] ci(workflow): updated release deploy workflow --- .github/workflows/{publish.yml => deploy.yml} | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{publish.yml => deploy.yml} (64%) diff --git a/.github/workflows/publish.yml b/.github/workflows/deploy.yml similarity index 64% rename from .github/workflows/publish.yml rename to .github/workflows/deploy.yml index 2293b93..0236b6a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -15,6 +15,6 @@ jobs: - name: Set up maven credentials uses: s4u/maven-settings-action@v2.6.0 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