Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anujdevopslearn authored Oct 15, 2023
1 parent 98c393a commit 6a3b28b
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 6a3b28b

Please sign in to comment.