Skip to content

Commit 0b3d1cc

Browse files
authored
Update maven-deploy.yml
1 parent 32d8392 commit 0b3d1cc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/maven-deploy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
name: Maven Deploy
2-
on: [push]
2+
on:
3+
push:
4+
branches:
5+
- master
6+
37
jobs:
48
build:
59
runs-on: ubuntu-latest
@@ -33,4 +37,4 @@ jobs:
3337
run: mvn deploy -B -s build/settings.xml -Dmaven.test.skip=true
3438
env:
3539
DEPLOYMENT_USERNAME: ${{ secrets.DEPLOYMENT_USERNAME }}
36-
DEPLOYMENT_PASSWORD: ${{ secrets.DEPLOYMENT_PASSWORD }}
40+
DEPLOYMENT_PASSWORD: ${{ secrets.DEPLOYMENT_PASSWORD }}

0 commit comments

Comments
 (0)