mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Fixes typo and passes through env vars
This commit is contained in:
parent
23b94b0f28
commit
dbd1e26b1c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
@ -85,7 +85,7 @@ jobs:
|
|||
|
||||
- name: Test env vars
|
||||
run: |
|
||||
echo "POSTGRES_USER: ${{ env.POSTGRES_URL }}"
|
||||
echo "POSTGRES_URL: ${{ env.POSTGRES_URL }}"
|
||||
echo "POSTGRES_PASS: ${{ env.POSTGRES_PASS }}"
|
||||
echo "POSTGRES_USER: ${{ env.POSTGRES_USER }}"
|
||||
|
||||
|
@ -98,4 +98,4 @@ jobs:
|
|||
app-name: ${{ env.DEV_APP_NAME }}
|
||||
use-staging-deployment: false
|
||||
package: ${{ github.workspace }}/*.jar
|
||||
#environment-variables: # optional
|
||||
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