Skip to content

Commit 3f167b6

Browse files
authored
set workflow to be run manually
1 parent dc3bada commit 3f167b6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/cd_maven.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
name: Publish package to the Maven Central Repository
2-
on:
3-
push:
4-
tags:
5-
- 'ipinfo-*'
2+
on: workflow_dispatch
63
jobs:
74
publish:
85
runs-on: ubuntu-latest
@@ -19,5 +16,6 @@ jobs:
1916
- name: Publish package
2017
run: mvn --batch-mode clean source:jar javadoc:jar deploy
2118
env:
19+
IPINFO_TOKEN: ${{ secrets.IPINFO_TOKEN }}
2220
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
2321
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}

0 commit comments

Comments
 (0)