Skip to content

Commit 50db970

Browse files
committed
deploy main branch
1 parent 68a2b0d commit 50db970

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/maven.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
git config --global user.email "[email protected]"
2222
git config --global user.name "GitHub Action"
2323
- name: Build with Maven
24-
if: github.ref != 'refs/heads/master'
24+
if: github.ref != 'refs/heads/main'
2525
run: mvn -B clean install
2626
- name: Deploy with Maven
27-
if: github.ref == 'refs/heads/master'
27+
if: github.ref == 'refs/heads/main'
2828
run: mvn -B clean deploy
2929
env:
3030
MAVEN_USERNAME: ${{ secrets.OSSRH_TOKEN_USER }}

0 commit comments

Comments
 (0)