Skip to content

Commit 2929cbf

Browse files
authored
Create deploy-maven.yml
1 parent a3aa89d commit 2929cbf

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/deploy-maven.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy to Maven
2+
3+
# Run workflow only on commits to `master`
4+
on:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
release:
11+
runs-on: ubuntu-18.04
12+
steps:
13+
- name: Check out Git repository
14+
uses: actions/checkout@v1
15+
16+
- name: Release to Central Repository
17+
uses: samuelmeuli/action-maven-publish@master
18+
with:
19+
gpg_private_key: ${{ secrets.gpg_private_key }}
20+
gpg_passphrase: ${{ secrets.gpg_passphrase }}
21+
ossrh_username: ${{ secrets.ossrh_username }}
22+
ossrh_password: ${{ secrets.ossrh_password }}

0 commit comments

Comments
 (0)