internal frontend implementation with keycloak authentication #16

Merged
boom merged 20 commits from dev into production 2025-07-02 04:24:36 +02:00
Showing only changes of commit c16ba0d09a - Show all commits

View File

@@ -10,6 +10,15 @@ build_internal_frontend:
script: script:
- | - |
cd internal_frontend cd internal_frontend
echo "KEYCLOAK_ISSUER=$KEYCLOAK_ISSUER" > .env
echo "NEXTAUTH_SECRET=$NEXTAUTH_SECRET" >> .env
if [ "$CI_COMMIT_REF_NAME" = "production" ]; then
echo "KEYCLOAK_CLIENT_ID=$KEYCLOAK_CLIENT_ID_PROD" >> .env
echo "KEYCLOAK_CLIENT_SECRET=$KEYCLOAK_CLIENT_SECRET_PROD" >> .env
else
echo "KEYCLOAK_CLIENT_ID=$KEYCLOAK_CLIENT_ID_TEST" >> .env
echo "KEYCLOAK_CLIENT_SECRET=$KEYCLOAK_CLIENT_SECRET_TEST" >> .env
fi
npm install npm install
npx next build npx next build
artifacts: artifacts: