From 6a3b28b7f3aa1b294acc7a7abfe0dea0fcd8d241 Mon Sep 17 00:00:00 2001 From: Anuj Sharma Date: Sun, 15 Oct 2023 21:26:38 +0530 Subject: [PATCH] Update maven.yml --- .github/workflows/maven.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1cab213e..6c9fad9a 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -31,18 +31,14 @@ jobs: distribution: 'temurin' cache: maven - name: Build with Maven - run: "mvn -B ${mavenGoal} --file ${buildScript}" - + run: | + "mvn -B ${mavenGoal} --file ${buildScript}" + ls -alrt deploy: needs: build runs-on: ubuntu-latest steps: - name: Production Deployment - if: ${{ github.ref_name == 'master' }} - run: | - echo "Proceeding with Production Deployment" - - name: Staging Deployment - if: ${{ github.ref_name == 'develop' }} run: | - echo "Proceeding with Staging Deployment" + ls -lart