We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c112f3 commit a0ddf07Copy full SHA for a0ddf07
.github/workflows/maven-deploy.yml
@@ -24,6 +24,12 @@ on:
24
default: 'temurin'
25
type: string
26
27
+ branch-to-deploy:
28
+ description: 'Git branch name'
29
+ required: false
30
+ default: 'refs/heads/master'
31
+ type: string
32
+
33
# allow single build
34
concurrency:
35
group: ${{ github.workflow }}-${{ github.ref }}
@@ -36,7 +42,7 @@ jobs:
36
42
if: |
37
43
github.event_name == 'push' &&
38
44
github.repository_owner == 'codehaus-plexus' &&
39
- github.ref == 'refs/heads/master' &&
45
+ github.ref == inputs.branch-to-deploy &&
40
46
!startsWith(github.event.head_commit.message , '[maven-release-plugin] prepare release')
41
47
48
runs-on: ubuntu-latest
0 commit comments