From 17c4f8e56d27ee9cde3735a30ddcc5fc98001f9d Mon Sep 17 00:00:00 2001 From: PiCiU1221 <96005164+PiCiU1221@users.noreply.github.com> Date: Sun, 15 Mar 2026 15:13:17 +0100 Subject: [PATCH] Fix pipeline environmental variables --- .github/workflows/backend-deploy.yml | 2 ++ backend/src/test/resources/application.properties | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/backend-deploy.yml b/.github/workflows/backend-deploy.yml index 099bbd6..23035ea 100644 --- a/.github/workflows/backend-deploy.yml +++ b/.github/workflows/backend-deploy.yml @@ -32,6 +32,8 @@ jobs: - name: Execute Maven build working-directory: backend + env: + OPENROUTESERVICE_API_KEY: ${{ secrets.OPENROUTESERVICE_API_KEY }} run: mvn clean verify -Duser.timezone=Europe/Warsaw - name: Upload build artifacts diff --git a/backend/src/test/resources/application.properties b/backend/src/test/resources/application.properties index 1f8841d..4c4db96 100644 --- a/backend/src/test/resources/application.properties +++ b/backend/src/test/resources/application.properties @@ -7,3 +7,6 @@ spring.datasource.username=test spring.datasource.password=test spring.jpa.hibernate.ddl-auto=create-drop + +JWT_SERVICE_KEY=this_is_a_fake_secret_key_for_testing_purposes_only_make_it_long_enough +JWT_EXPIRATION=86400000