Skip to content

Commit

Permalink
OY-5034 Deployataan kirjasto vain main branchista
Browse files Browse the repository at this point in the history
  • Loading branch information
jkorri committed Jan 14, 2025
1 parent 2881ff5 commit 79bdc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
cache: 'maven'

- name: Deploy Client Library
if: ${{ success() }}
if: ${{ success() && format('refs/heads/{0}', github.event.repository.default_branch) == github.ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: mvn deploy --batch-mode -DskipTests -pl kirjasto -am
Expand Down

0 comments on commit 79bdc30

Please sign in to comment.