Removes quotes as they don't look to be required, moves setting of profile to JVM command

This commit is contained in:
Matt Stannett 2022-12-19 16:38:19 +13:00 committed by GitHub
parent dbd1e26b1c
commit 98fe8ccbc0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -98,4 +98,5 @@ jobs:
app-name: ${{ env.DEV_APP_NAME }}
use-staging-deployment: false
package: ${{ github.workspace }}/*.jar
environment-variables: -POSTGRES_USER="${{ env.POSTGRES_USER }}" -POSTGRES_PASS="${{ env.POSTGRES_PASS }}" -POSTGRES_URL="${{ env.POSTGRES_URL }}" -spring.profiles.active="postgres"
jvm-options: -Dspring.profiles.active=postgres
environment-variables: -POSTGRES_USER=${{ env.POSTGRES_USER }} -POSTGRES_PASS=${{ env.POSTGRES_PASS }} -POSTGRES_URL=${{ env.POSTGRES_URL }}