diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 4250885de..431f8962b 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -29,7 +29,7 @@ jobs: java-version: '11' distribution: 'temurin' cache: maven - server-id: creatis-snapshots + server-id: ${{ env.isProduction && 'creatis-releases' || 'creatis-snapshots' }} server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - name: Build with Maven