Skip to content

Commit

Permalink
OK-356 Deploy vain main-branchista
Browse files Browse the repository at this point in the history
  • Loading branch information
jkorri committed Jan 12, 2024
1 parent 3f185ef commit e15e2cf
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 @@ -27,7 +27,7 @@ jobs:
run: mvn clean package

- name: Deploy
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

0 comments on commit e15e2cf

Please sign in to comment.