Skip to content

Commit

Permalink
build: simplify maven server-id definition in deploy-on-pr-merge
Browse files Browse the repository at this point in the history
The existing expression was necessary when deploying snapshots on push to master. Now we only deploy proper (i.e. non-snapshot) releases.
  • Loading branch information
michalmac committed Sep 30, 2023
1 parent 312924e commit 26c9733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-on-pr-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
java-version: 17
distribution: 'zulu'
cache: 'maven'
server-id: ${{ github.event_name == 'push' && 'matsim-snapshots' || 'matsim-releases' }} #choose mvn repo
server-id: 'matsim-releases'
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD

Expand Down

0 comments on commit 26c9733

Please sign in to comment.