mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Syntax update
This commit is contained in:
parent
98fe8ccbc0
commit
a2f36d0003
1 changed files with 8 additions and 2 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue