Syntax update

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

View file

@ -98,5 +98,11 @@ jobs:
app-name: ${{ env.DEV_APP_NAME }}
use-staging-deployment: false
package: ${{ github.workspace }}/*.jar
jvm-options: -Dspring.profiles.active=postgres
environment-variables: -POSTGRES_USER=${{ env.POSTGRES_USER }} -POSTGRES_PASS=${{ env.POSTGRES_PASS }} -POSTGRES_URL=${{ env.POSTGRES_URL }}
#jvm-options: -Dspring.profiles.active=postgres
# Removed POSTGRES_URL
environment-variables: -POSTGRES_USER=${{ env.POSTGRES_USER }} -POSTGRES_PASS=${{ env.POSTGRES_PASS }} -SPRING_PROFILES_ACTIVE=postgres
# Added single quotes attempt
#environment-variables: -POSTGRES_USER='${{ env.POSTGRES_USER }}' -POSTGRES_PASS='${{ env.POSTGRES_PASS }}' -POSTGRES_URL='${{ env.POSTGRES_URL }}' -SPRING_PROFILES_ACTIVE=postgres
# Original
#environment-variables: -POSTGRES_USER=${{ env.POSTGRES_USER }} -POSTGRES_PASS=${{ env.POSTGRES_PASS }} -POSTGRES_URL=${{ env.POSTGRES_URL }} -SPRING_PROFILES_ACTIVE=postgres